tentone / geo-three

Tile based geographic world map visualization library for threejs
https://tentone.github.io/geo-three/docs/
MIT License
727 stars 119 forks source link

(Mapbox) Vector Tile support #37

Open svbaelen opened 2 years ago

svbaelen commented 2 years ago

Hi!

Cool project! I was wondering if you are planning to integrate support for vector tiles, such as MVT? For example, similar to the OpenLayers MVT format: https://github.com/openlayers/openlayers/blob/main/src/ol/format/MVT.js

tentone commented 2 years ago

Hello

This file format could be implemented Ideally we could render these directly in shader code which would take some time to implement but could be done.

But it can also be easily added by rasterizing the tiles dinamically into a canvas for example.

Thanks a lot!

svbaelen commented 2 years ago

Sounds good! Implementing this in the shader code might be more suited for potential layering? For example, say you want to add a base layer with OSM tiles, and an optional (toggle-able) layers with vector tile, especially for "smaller" features. I wonder whether in case of dynamic rasterization, this might introduce unnecessary overhead, especially for multiple layers?

cyrfer commented 1 year ago

I am also interested in vector tile data, possibly with AWS Location Services as a data provider.

shot-codes commented 2 months ago

Interested as well. OpenFreeMap already uses the /zoom/x/y URL pattern but returns pbf and not raster images.