Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jeisenbe opened this issue Mar 25, 2019 · 2 comments
Closed

Comments

@jeisenbe
Copy link

jeisenbe commented Mar 25, 2019

Current situation: No marine water body polygons available

  • Many mappers and users on the Tagging mailing list and on the Openstreetmap-Carto issue tracker have said that it would be useful to have polygons available for seas and other marginal marine water bodies such as bays, gulfs, bights, and straits. These features are usually mapped as place=sea, natural=bay and natural=straight as nodes.

  • The lack of such polygons has encouraged some mappers to begin creating giant multipolygons for bays, straights and even seas. Other have attempted to map a simplified version of the coastline as an approximation of the extent of the marine body. However, both of these options are difficult to verify, and the large multipolygons are also very difficult to maintain.

Recommended solution

  • If preprocessed polygons are available for seas, bays (and possibly straits and estuaries), it would be possible to automatically place labels for marine water bodies on maps that do not include the center of the sea, and to adjust the labels size, shape and position based on the polygon, at the time of map rendering.

  • It would also be possible to calculate the approximate size of each marine water body for other applications, and to create more specific prompts for marine routing applications.

  • Ideally, simplified polygons would be available to match the simplified-water-polygons shapefiles, and complete polygons could also be offered which would match the water-polygons-complete shapefiles

@jeisenbe jeisenbe changed the title Preprocessed polygons for marine water bodies (seas, bays & straights) Preprocessed polygons for marine water bodies (seas, bays & straits) Mar 25, 2019
@joto
Copy link
Collaborator

joto commented Mar 25, 2019

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.

@joto joto closed this as completed Mar 25, 2019
@imagico
Copy link

imagico commented Mar 25, 2019

For clarification - i suggested that this kind of processing could be suitable for this project in gravitystorm/openstreetmap-carto#2278 (comment). 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants