openmaptiles

Best way to merge mbTiles files together

独自空忆成欢 提交于 2020-01-05 04:21:12
问题 I have generated mbtiles for different sub regions of USA map from openMapTiles. Now, I wanted to merge all the generated mbTiles files together. What's the better way to do this? Thanks! 回答1: Once you have tile-join ( https://github.com/mapbox/tippecanoe ) tool, it should be easy. I am just patching version so it is easy to reuse same styles right away (for klokantech/tileserver-gl) so my mixing script now : rm mix.mbtiles tile-join -o mix.mbtiles *.mbtiles sqlite3 mix.mbtiles 'UPDATE "main"

d3.geo.tile point-to-point path not showing for varying widths

☆樱花仙子☆ 提交于 2019-12-20 04:21:26
问题 I have been following this block example to show nodes and paths as landmarks and roads. I have successfully loaded the map and I am able to zoom in enough to a "street view" level. I have also successfully added nodes following the example. My problem, however, is that my paths are mostly straight PointA-to-PointB paths. I have been implementing them as M(sourcex),(sourcey)L(targetx),(targety) before I added the map. Now, the paths won't show up unless the width was set to EXACTLY 0.9 / zoom

Vector tile route finding

橙三吉。 提交于 2019-12-10 15:33:11
问题 Has anyone used either Mapbox or OpenMapTiles vector tiles to find routes from one place to another? It seems to me like those tiles are made for display and don't contain intersection information the way that say Open Street Map does. 回答1: Mapbox has directions API which uses Open Street Map: Mapbox’s directions services use a network of roads and paths, or ways, derived from OpenStreetMap, a collaborative project to create a free and editable map of the world. Contributors to OpenStreetMap

d3.geo.tile point-to-point path not showing for varying widths

拜拜、爱过 提交于 2019-12-02 03:54:20
I have been following this block example to show nodes and paths as landmarks and roads. I have successfully loaded the map and I am able to zoom in enough to a "street view" level. I have also successfully added nodes following the example. My problem, however, is that my paths are mostly straight PointA-to-PointB paths. I have been implementing them as M(sourcex),(sourcey)L(targetx),(targety) before I added the map. Now, the paths won't show up unless the width was set to EXACTLY 0.9 / zoom.scale() which does not work for me. I need the paths to vary in width depending on data but even