07-04, 12:15–12:35 (UTC), Track 1
Separation of features by their importance is a core technique in cartography.
But what happens if features of the same feature class (e.g. train stations)
have a varying importance? A manual cartographer can choose the important features
based on other knowledge. Howerver, rule based cartography which is dominating in
the OpenStreetMap environment cannot work this way.
A computer programme rendering a map needs selection rules. Someone has to
implement them.
This talk presents some examples showing how to add lacking relevance information
if the importance of features within one feature class ranges span between extreme
values. It will show how train stations and airports can ranked using other OSM data
and external datasets.
Maps cannot show all information at all scales. A cartographer needs to decided which features should appear at which scale on the map.
OpenStreetMap based web maps are usually products of rule-based cartography, a computer programme selecting features from a data store and rendering them. It needs rules. If all the features of a feature class are of similar importance, the selection is simple. If not, ranks or attributes to be used for ranking are required. Ranks are assigned to roads as values of the highway=*
tag, rankable attributes are available as population=*
tags in OpenStreetMap.
In some cases some features of a feature class are of high importance but many other features of that class are irrelevant at medium or lower scales.
For example, a map on a medium scale cannot show all stations or all airports in a country. Some airports are only used by a few flights per day, others are not even public. Some train stations have dozens of trains per hours while others get served only few times per week or are used by a dozen passengers per week. Important features should appear at country level but irrelevant features should appear at high scales only.
This challenge has not been addressed by map styles used for OpenStreetMap data so far. Authors of map styles circumvent the issue by rendering all features at higher scales only or by selectiong features randomly until enough features are rendered.
The talk will present how to add ranking information to train stations and airports from OpenStreetMap using other OpenStreetMap data and/or external datasets. The ranking is applied in the rendering database. The ranking train station is based on the presence of public transport route relations and has been used for train station rendering of OpenRailwayMap's infrastructure map style since January 2020.
Adding Missing Ranking to OSM Data for Rule-based Cartography
Maintainer of OpenRailwayMap, vice chairman of FOSSGIS e.V., Geofabrik employee