Skip to content

Distinguish maritime boundaries from land boundaries #744

Closed

Description

@1ec5

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.

Activity

  1. jeffreyameyer commented on May 25, 2024

    @jeffreyameyer
    Member

    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?
    Monosnap overpass turbo 2024-05-24 17-45-01
  2. moved this to TODO Soon in OHM Cartoon May 29, 2024
  3. moved this from TODO Soon to Data/dev work required first in OHM Cartoon May 30, 2024
  4. moved this from Data/dev work required first to TODO Soon in OHM Cartoon Jun 4, 2024
  5. moved this from TODO Soon to Low hanging fruit in OHM Cartoon Jun 4, 2024
  6. vknoppkewetzel commented on Jun 4, 2024

    @vknoppkewetzel

    Following up on this, the maritime yes/no doesn't exist here (yet :) )
    image
    image

  7. moved this from Low hanging fruit to Data/dev work required first in OHM Cartoon Jun 4, 2024
  8. 9 remaining items

  9. moved this from TODO Soon to Data/dev work required first in OHM Cartoon Aug 12, 2024
  10. Rub21 commented on Nov 5, 2024

    @Rub21
    Member

    @vknoppkewetzel there is another layer called land_ohm_maritime that you could use for styling the lines
    image

  11. moved this from Data/dev work required first to In Staging in OHM Cartoon Nov 5, 2024
  12. vknoppkewetzel commented on Nov 21, 2024

    @vknoppkewetzel

    Thanks Ruben! I'll take a look at this to see what it looks like and go from there 🙏

  13. moved this from In Staging to Low hanging fruit in OHM Cartoon Nov 21, 2024
  14. moved this from Low hanging fruit to TODO Soon in OHM Cartoon Nov 21, 2024
  15. vknoppkewetzel commented on Dec 31, 2024

    @vknoppkewetzel

    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)

    Image
    Image

    thank you!

  16. moved this from TODO Soon to Data/dev work required first in OHM Cartoon Dec 31, 2024
  17. Rub21 commented on Mar 11, 2025

    @Rub21
    Member

    done!

  18. moved this from Data/dev work required first to Done in OHM Cartoon Mar 11, 2025
  19. added theissue type on Mar 16, 2025
  20. moved this from Tested in staging to Live in production in OHM Cartoon Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

  • Status
    Live in production

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions