Skip to content

[BUG] Planetiler seems to drop geometry that is wholly beyond the antimeridian #1588

Description

@manuel-hegner

Describe the bug
When compiling a pmtiles tileset from a geojson source Planetiler seems to drop geometry that is completely beyond the antimeridian. Geometry that just crosses it seems to be fine.

To Reproduce
Steps to reproduce the behavior:

  1. Download data: https://file.kiwi/3803771f#iaY6xGUyfNHWDA0RNEVPKQ
  2. Run command with tile-format mlt
  3. Checkt the resulting pmtiles file. The peninsula crossing the antimeridian is still there, but the smaller geometries on it are gone.

Expected behavior
Geometry at <-180 and >180 should be handled gracefully and added to the appropriate tiles.

Screenshots
Input geojson

Image

Result after pmtile creation
Image

Environment (please complete the following information):

  • Hardware: i9-14900KF
  • OS: Ubuntu
  • Java version and distribution: Temurin 21
  • Maven version: 3.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions