<div dir="ltr">Hi,<div><br></div><div>Is anybody working on an OGR driver for mapbox-like vector tiles (PBF blobs) stored in MBTiles or downloaded from a url via curl?</div><div><br></div><div>If this is done, all the GDAL-powered tools could access the vector features available in vector tiles directly - it means vector data in QGIS and Grass for any region in world without any extra effort. This would be damn cool!</div><div><br></div><div>It seems to be doable with an open-source code like:</div><div><a href="https://github.com/mapbox/mapnik-vector-tile/blob/master/examples/c%2B%2B/tileinfo.cpp">https://github.com/mapbox/mapnik-vector-tile/blob/master/examples/c%2B%2B/tileinfo.cpp</a><br></div><div><br></div><div>Recently we have rendered the whole world from OpenStreetMap planet into vector tiles - and made these tiles downloadable for free (the whole world or country and city extracts).</div><div><br></div><div>Downloads are hosted on Swiss academical network and the project is cooperation between Klokan Technologies GmbH and students from HSR university in Switzerland.</div><div><br></div><div>Everything is done with open-source software, properly documented and forkable on github.<br></div><div><br></div><div>See: <a href="http://osm2vectortiles.org/">http://osm2vectortiles.org/</a> and <a href="https://github.com/osm2vectortiles/osm2vectortiles">https://github.com/osm2vectortiles/osm2vectortiles</a></div><div><br></div><div>It practically means you can make your own OSM server running on your own hardware - usable even offline on your laptop or without firewalls within a few minutes.</div><div><br></div><div>No PostGIS needed and no processing of planet dump on a computer with 20GB+ RAM.</div><div>Any standard low-end computer or virtual machine can be used...</div><div><br></div><div>This including having your own raster tile server - where raster tiles are rendered on demand from vector tiles by Mapnik (we used tessera tilelive based server and docker - so the whole server can be up in a linux container with one command, if you don't want to install the software natively).</div><div><br></div><div><div>If you have WebGL in your browser then raw vector tiles are directly at: <a href="http://osm2vectortiles.tileserver.com/">http://osm2vectortiles.tileserver.com/</a> with a style applied for example at: <a href="http://osm2vectortiles.org/maps/">http://osm2vectortiles.org/maps/</a></div></div><div><br></div><div>Setup is quite easy: download vector tiles packed in MBTiles format (extracts has a few megabytes, countries gigabytes, whole world is about 60 GB) and use it.</div><div>Typical use would be a start of a basic raster tileserver or serving the vector tiles directly from any hosting (even a cheap PHP hosting can do this).</div><div><br></div><div>Everything is documented at: <a href="http://osm2vectortiles.org/docs/">http://osm2vectortiles.org/docs/</a> and for free.</div><div>Patches and pull requests on the vector tiles rendering process and schema are welcome ;-)</div><div><br></div><div>If there would be OGR driver for vector tiles it would make a similar resource extremely useful also for other purposes in GIS tools - not only for tileservers and direct visualisation.</div><div><br></div><div>Any feedback or ideas are really welcome...</div><div><br></div><div>Petr</div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Petr Pridal, Ph.D.<br>CEO<br><br>Klokan Technologies GmbH<br>Hofnerstrasse 98, 6314 Unterageri, Switzerland<br>Tel: +41 (0)41 511 26 12<br>Email: <a href="mailto:info@klokantech.com" target="_blank">info@klokantech.com</a><br>Web: <a href="http://www.klokantech.com/" target="_blank">http://www.klokantech.com/</a></div></div></div></div>
</div></div>