navit  0.5.3-trunk
country_table Struct Reference

Data Fields

int countryid
 
char * names
 
char * admin_levels
 
FILE * file
 
int size
 
struct rect r
 
int nparts
 

Field Documentation

◆ admin_levels

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().

◆ countryid

◆ file

FILE* country_table::file

◆ names

char* country_table::names

◆ nparts

int country_table::nparts

◆ r

struct rect country_table::r

◆ size

int country_table::size

The documentation for this struct was generated from the following file: