I would like to make a map that showed only specific sorts of features, but using the basic OSM data for all of it, and I am asking how to set about doing so. Specifically, I would like a map that showed land (eg the UK) with the ground shown as shaded terrain, and also water features (rivers, canals, lakes, sea shore) and nothing else. Or another example: A map showing land in terrain-shaded form including contours, with all the railway lines present including any related names (e.g. stations), and nothing else. I am not sure whether I am asking to be able to turn off layers - such as roads, political boundaries etc, or whether the OSM community uses another term for this. I don't want to have to define the "how" of what a thing looks like - I am happy to use an existing representation as appropriate. Any thoughts? asked 09 Aug '20, 00:36 rivimey |
OSM doesn't have "layers" in the GIS sense of the word. Different type of objects are indicated by different attributes ("tags") that are attached to object geometries. You can naturally filter OSM data to just get geometries that you want. But if you want to make multiple different maps you probably would want to store the data in a database and select the geometries you want to render via SQL queries. A number of points to note:
answered 09 Aug '20, 15:06 SimonPoole ♦ Thanks for the reply. Is there a webite or program that can render OSM sata and allows the displayed tags to be filtered as you suggest? I don't want to have to build my own application - I'm interested in the map, not the programming.
(09 Aug '20, 16:18)
rivimey
This would depend on intended audience and technology. But it sounds a bit as if you would be best served by a mapbox account or similar from other providers.
(09 Aug '20, 20:58)
SimonPoole ♦
|