You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Distinguish maritime boundaries from land boundaries #744
Some map styles don’t primarily focus on boundaries, so maritime boundaries represent clutter that distracts the reader from the main data being presented. @vknoppkewetzel@tsinn@jeffreyameyer have expressed interested in visually differentiating or even hiding maritime boundaries in the main Historical stylesheet. This forum discussion discusses the pros and cons of including maritime boundaries in the database. To the extent that they are included, it should be possible for stylesheet authors to decide what to do with them.
An administrative area’s territorial water limit is tagged as maritime=yes. In OSM, other kinds of maritime boundaries, such as exclusive economic zones, are tagged as boundary=maritime, though this tag isn’t being used in OHM yet. Neither maritime=yes nor boundary=maritime is exposed in the vector tiles.
maritime=yes only applies to individual member ways of a boundary relation, not the relation itself, so our current polygon representation of boundaries cannot accommodate this attribute: #701. As discussed in that issue, the tiles would ideally contain both a polygon and linestrings for each boundary for maximum style flexibility, but this would have a significant tradeoff in size. Naïvely, we could continue to represent boundaries as polygons, but additionally represent maritime boundary ways as linestrings. However, this would only allow the stylesheet to obscure the overall boundary polygon’s line with a maritime boundary line over water, not to hide it completely. Therefore, I think this issue is blocked by #701.
Given that #701 appears to no longer be blocking and that there are plenty of boundary relations with segments already marked with maritime=yes (see map below),
@Rub21 - can you make sure the maritime tag is getting passed through on the boundary
@vknoppkewetzel - can you update the styles to not render (or very very very discretely, like a dashed hairline if we absolutely must) maritime boundaries?
Finally have a chance to take a look here :) thank you this looks great to have the maritime boundaries available!
Will the areas where there still is country boundaries in the ocean be updated in the future (clipping based on land maybe?), or this just something that can't be updated until different data sources exist for those countries?
If those can be removed completely from land_ohm_lines and only be part of the maritime boundaries layer, that would be really great and allow for the maritime boundaries to be removed (or styles so they aren't as visually prominent)
Activity
jeffreyameyer commentedon May 25, 2024
Given that #701 appears to no longer be blocking and that there are plenty of boundary relations with segments already marked with
maritime=yes(see map below),maritimetag is getting passed through on the boundaryvknoppkewetzel commentedon Jun 4, 2024
Following up on this, the maritime


yes/nodoesn't exist here (yet :) )9 remaining items
Rub21 commentedon Nov 5, 2024
@vknoppkewetzel there is another layer called

land_ohm_maritimethat you could use for styling the linesvknoppkewetzel commentedon Nov 21, 2024
Thanks Ruben! I'll take a look at this to see what it looks like and go from there 🙏
vknoppkewetzel commentedon Dec 31, 2024
Finally have a chance to take a look here :) thank you this looks great to have the maritime boundaries available!
Will the areas where there still is country boundaries in the ocean be updated in the future (clipping based on
landmaybe?), or this just something that can't be updated until different data sources exist for those countries?If those can be removed completely from
land_ohm_linesand only be part of the maritime boundaries layer, that would be really great and allow for the maritime boundaries to be removed (or styles so they aren't as visually prominent)thank you!
Rub21 commentedon Mar 11, 2025
done!