openstreetmap-ng icon indicating copy to clipboard operation
openstreetmap-ng copied to clipboard

Built-in GPS Tiles Server

Open Zaczero opened this issue 6 months ago • 0 comments

OSM-NG should generate GPS tiles so there are no external services to maintain. We already do all the necessary work for filtering the data. As a bonus, we will be able to provide several data formats and possibly vector tiles.

The goal is to:

  • Have an endpoint for producing /{z}/{x}/{y} tiles, same as on the main OSM website
  • Allow optional for format specification via .png suffix (by default its png)
  • Vector tiles support is outside the scope of this issue but please be mindful about potential future code changes

Hint: From my experience cv2 (OpenCV) is the best performing package for these kinds of things.

Example: https://gps.tile.openstreetmap.org/lines/14/9149/5451.png

image

Zaczero avatar Aug 06 '24 22:08 Zaczero