fossgis / osmdata

Scripts for creating OSM data derived data sets
GNU General Public License v3.0
28 stars 5 forks source link

Preprocessed polygons for marine water bodies (seas, bays & straits) #3

Closed jeisenbe closed 5 years ago

jeisenbe commented 5 years ago

Current situation: No marine water body polygons available

Recommended solution

joto commented 5 years ago

This is not the place to talk about (controversial) tagging issues. If and when there is a useful and canonical way of tagging these things and once somebody has written (at least experimental) tools to extract this data, we can talk here about integrating it in this process. Until then I suggest you discuss this on the usual OSM channels.

imagico commented 5 years ago

For clarification - i suggested that this kind of processing could be suitable for this project in https://github.com/gravitystorm/openstreetmap-carto/issues/2278#issuecomment-473656155. But i was a bit ambiguous in my formulation. It should be clear that a working process would be a prerequisite for discussing it here.

Anyone with experience in OSM-Carto development would probably be able to work on this - you create a separate PostGIS database, import the coastline data and the sea/ocean/etc. stuff and start processing. You would need to learn new PostGIS stuff (like INSERT and UPDATE in addition to SELECT for example) but can also use a lot of things you already know from style development.

But note - since the issue title suggests otherwise - for labeling maritime features like bays, straits etc. polygon geometries for those are neither necessary nor particularly useful. Generating a consistent and meaningful set of polygon geometries would be much harder than generating suitable labeling hints.