Skip to content

Remove Natural Earth layers from vector tiles #214

Closed

Description

@tsinn

What's your idea for a cool feature that would help you use OHM better.
To help clean up the vector tiles, it has been requested that Natural Earth layers be removed from the tiles, and not just from the map styles (which was done previously). The following layers seem to be completely compiled from Natural Earth sources:

state_label_points
state_lines
country_label_points
country_lines
country_lines_disputed
country_polygons
populated_places

Notes:

  1. It looks like country_polygons is already removed from the tiles.
  2. We will continue to use land for the time being even though it's sourced from Natural Earth since land_ohm is not complete
  3. At least transport_lines has been a mix of both Natural Earth and OHM sources. This complicates things, since we can't simply remove an entire layer. And I'm not sure if there are maybe additional layers that mix sources?

Current workarounds
We're removing from the style json, so they're not present in the map, but they should also be removed from the tiles.

Additional info
This is in South America, and appears to be Natural Earth highways that are still in the transport_lines
image

Activity

  1. Rub21 commented on Apr 16, 2021

    @Rub21
    Member

    @tsinn , I have been looking carefully this issue, Looks the production endpoint has some cache issues,
    https://vtiles.openhistoricalmap.org/#4.07/-31.46/-54.8
    image

    I have deployed a new version on staging and the lines are gone!

    https://vtiles-staging.openhistoricalmap.org/#4.07/-31.46/-54.8
    image

    We have a new release that may happen next week, once that those lines should be gone.
    cc . @geohacker

  2. geohacker commented on Apr 19, 2021

    @geohacker

    @Rub21 that's right. Some of NE are already removed but we haven't completely removed it as a source in the tiler. What we should do is to be able to remove this entire block https://github.com/OpenHistoricalMap/ohm-deploy/blob/main/images/tiler-server/config/config.toml#L228-L372 — for this we should first remove all layers that uses NE below.

  3. Rub21 commented on Apr 19, 2021

    @Rub21
    Member
  4. geohacker commented on Apr 20, 2021

    @geohacker

    Thank you @Rub21. @tsinn @danrademacher is this what you expect? Do we need to keep any NE layers around?

  5. danrademacher commented on Apr 20, 2021

    @danrademacher

    Make this layer available z0-20:
    image

  6. Rub21 commented on Apr 20, 2021

    @Rub21
    Member

    Land is showing from z0-20
    image

  7. Rub21 commented on May 21, 2021

    @Rub21
    Member

    This is done!! Closing here!

  8. added theissue type on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions