Read openstreetmap PBF file with PHP?


Read openstreetmap PBF file with PHP?



I downloaded a mbtiles file from this location:
https://openmaptiles.com/downloads/europe/netherlands/


mbtiles



I can serve this file in PHP with this library : https://github.com/klokantech/tileserver-php


PHP



This returns a compressed PBF, which Mapbox GL JS can use, but I'm not able in PHP to decode this data to get information out of it.


PBF


Mapbox GL JS



Has anybody ever extracted data from PBF using PHP ?


PBF


PHP









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift