openmaptiles/layers/place
lukasmartinelli 1b4b6be3fe Fix issues with rank boundaries in country and state 2016-11-03 10:59:15 +01:00
..
README.md
city.sql
country.sql
mapping.png
mapping.yaml
merge_city_rank.sql
merge_country_rank.sql Fix issues with rank boundaries in country and state 2016-11-03 10:59:15 +01:00
merge_state_rank.sql Fix issues with rank boundaries in country and state 2016-11-03 10:59:15 +01:00
place.sql
place.yaml
state.sql
types.sql

README.md

place

The place layer consists out of countries, states and cities. Apart from the roads this is also one of the more important layers to create a beautiful map. We suggest you use different font styles and sizes to create a text hierarchy.

Fields

  • name_en: The english name:en value if available.
  • name: The OSM name value of the POI.
  • rank: Countries, states and the most important cities all have a rank to boost their importance on the map. The rank field for counries and states ranges from 1 to 6 while the rank field for cities ranges from 1 to 10 for the most important cities and continues from 10 serially based on the local importance of the city (derived from population and city class). Use the rank field to build a text hierarchy. The rank value is a combination of the Natural Earth scalerank, labelrank and datarank values for countries and states and for cities consists out of a shifted Natural Earth scalerank combined with a local rank within a grid for cities that do not have a Natural Earth scalerank.
  • class: Distinguish between country, state and other city classes like city, town, village, hamlet, suburb, neighbourhood or isolated_dwelling. Use this to separately style the different places according to their importance (usually country and state different than cities).

Mapping