I need to build a pbf 2 mariadb script

I need to make a pbf to maraidb data port. Is there some base code I can work from to do this? It would be nice to work with some existing reader code. Can someone make any suggestions or where I can pick up some source to work with?


You might look here for a start:


It appears that support for mysql/mariadb is going away. I still need it so I need to build a utility to do the conversion. Im reading through the pbf schema and it is not really clear how it is used and structured https://wiki.openstreetmap.org/wiki/PBF_Format#Format_example. Thats why im looking for example code.

You can also look at osm2pgsql tool, which can have different backends - maybe you can just add one for MySQL/MariaDB:



This one seems relevant: https://help.openstreetmap.org/questions/67315/pbf-2-mariadb

Oh, bummer, that’s your own question. Please don’t cross post stuff.