←back to thread

OpenStreetMap's New Vector Tiles

(tech.marksblogg.com)
479 points marklit | 1 comments | | HN request time: 0.21s | source
Show context
DemocracyFTW2 ◴[] No.42182817[source]
One clear advantage of the new SVG format is, apparently, that Arabic script is now, finally!, rendered the way it was always intended—left-to-right with unconnected letters /s
replies(5): >>42183178 #>>42183255 #>>42183421 #>>42183525 #>>42187652 #
memsom ◴[] No.42183421[source]
I wish they were SVG, that would make rendering them less of a headache.

There is still no good library which takes in a MVT tile and spits out the appropriate PNG or JPEG for rendering in via a tile base mapping engine. There is still no good cross platform mapping engine that can render vector tiles in a way that is easy to consume. There are certainly engines on specific platforms, but unless we use something like Leaflet or OpenLayers it is hard to make it work with native APIs on, say Windows, MacOs, Linux, iOS or Android without needing to adding a whole browser engine on top of your app.

replies(3): >>42183631 #>>42185033 #>>42190571 #
1. dvdkon ◴[] No.42183631[source]
There are plenty non-web vector map renderers, but they generally provide a full GUI widget, not a simple "extent -> png" function. I don't think creating that would be too much work, though: Just set one of those libraries to render to a texture.

Maplibre Native even seems to have a headless "render to PNG" backend: https://github.com/maplibre/maplibre-native/tree/main/platfo...