OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-12-21 22:50:14

Greg Rossel
Member
Registered: 2018-12-11
Posts: 16

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?

Thanks.

Offline

#2 2018-12-21 22:54:53

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,232
Website

Re: I need to build a pbf 2 mariadb script

You might look here for a start:

https://help.openstreetmap.org/tags/mysql/

Offline

#3 2018-12-21 23:23:03

Greg Rossel
Member
Registered: 2018-12-11
Posts: 16

Re: I need to build a pbf 2 mariadb script

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 … at_example. Thats why im looking for example code.

Offline

#4 2018-12-22 00:22:39

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,232
Website

Re: I need to build a pbf 2 mariadb script

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

https://wiki.openstreetmap.org/wiki/Osm2pgsql

https://github.com/openstreetmap/osm2pg … e-backends

Offline

#5 2018-12-22 12:10:04

mmd
Member
Registered: 2010-11-06
Posts: 1,765

Re: I need to build a pbf 2 mariadb script

This one seems relevant: https://help.openstreetmap.org/question … -2-mariadb

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

Offline

Board footer

Powered by FluxBB