Skip to content

Generate MVT Contour Line Tiles From Elevation Data #2061

@anjx123

Description

@anjx123

Contour Lines are a classic map style feature that users may want to generate given some elevation data. Adding this feature to Martin tile server would be highly cacheable without the client needing to actually download any elevation data.

Image

Steps

  • Decode data format into a raw 2D elevation buffer.
  • Use contour rust crate to generate isoline geometries, exposing configurable parameters.
  • Isoline geometries are geo-types Geometry::LineString that can then be scaled and transformed into MVT space.
  • Geometry are then converted to MVT tiles that can be served. Metadata can be encoded for features like major and minor contour lines.

Metadata

Metadata

Assignees

Labels

backendcliRelated to Command Line InterfaceconfigRelates to Martin configuration

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions