Re:Openstreetmap, a global map for worldwide insight
by nbadg on Friday July 03, 2020 @07:03PM
(#23728385)
You're mixing up the formats slightly: MVT is sqlite with a particular schema; OSM raw data is PBF with a particular schema.
Re:Openstreetmap, a global map for worldwide insight
by durkie on Saturday July 04, 2020 @03:15PM
(#23734286)
Isn't mbtiles sqlite?
Re:Openstreetmap, a global map for worldwide insight
by nbadg on Sunday July 05, 2020 @02:50AM
(#23737040)
It might be that pbfs are stored inside sqlite? The whole thing is really incredibly confusing to be honest.
What I can tell you is that my vector slippymap XHR is requesting .pbf files, so that would definitely imply protobuffers as the wire format. Ultimately that's using t-rex and mapbox-gl.js, so... not sure if there's something intermediate. But the mapbox docs say sqlite? I'm just very confused now.
Re:Openstreetmap, a global map for worldwide insight
by maxerickson on Sunday July 05, 2020 @12:36PM
(#23739915)
Re:Openstreetmap, a global map for worldwide insight
by nbadg on Monday July 06, 2020 @05:34PM
(#23753044)
Yep, versus https://docs.mapbox.com/help/glossary/mbtiles/ -- I had them backwards. My confusion might have been because of the name similarities (mbtiles vs mvt), which took me 3 tries to even just type correctly.
Many vector tile encoders have wide flexibility in geometry simplification/removal depending on zoom layer and this helps big time with tile size. I find them to be quite nice in lower bandwidth situations because you can overzoom them and still have them look good: if you zoom in and the tiles for the next zoom level haven't loaded, the vector geometry is still able to look decent, rather than pixellated like a raster tile.