navit
0.5.3-trunk
|
Data Fields | |
int | countryid |
char * | names |
char * | admin_levels |
FILE * | file |
int | size |
struct rect | r |
int | nparts |
char* country_table::admin_levels |
String indicating how to interpret admin levels for this country.
Each character of the string specifies how to treat the corresponding admin level. The first character corresponds to level 3, each following character to the next lower level (usually up to level 8, but that is just a convention): s
: use the name as the state label, c
: use the name as the county label, m
: use the name as the municipality label, M
: same as m
, but additionally use the boundary as the town boundary, T
: use the boundary the town boundary and ignore the name. All other characters are ignored; by convention use the digit corresponding to the admin level to indicate this level should be skipped.
See https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative#10_admin_level_values_for_specific_countries for values used in specific countries.
Referenced by osm_process_town_by_boundary_update_attrs().
int country_table::countryid |
Referenced by country_from_countryid(), load_countries(), osm_process_towns(), remove_countryfiles(), sort_countries(), and write_countrydir().
FILE* country_table::file |
Referenced by osm_process_towns(), and sort_countries().
char* country_table::names |
int country_table::nparts |
Referenced by remove_countryfiles(), and write_countrydir().
struct rect country_table::r |
Referenced by load_countries(), sort_countries(), and write_countrydir().
int country_table::size |
Referenced by load_countries(), remove_countryfiles(), sort_countries(), and write_countrydir().