How to get list of addresses containing city name, street name, building number, latitude and longitude from Osm with osmosis to mysql. Thanks about Postgres tips. General question is about getting this list.
Test fetching request is not working:
osmosis --read-pbf planet-latest.osm.pbf --write-apidb dbType="mysql"
host="localhost" database="planet8" user="user" password="password"
validateSchemaVersion=no
it gives error like:
org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-read-pbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id 485654 into the database.
I'm using sql dump from https://github.com/oschrenk/osmosis-mysql and it looks strange little bit. Not sure, that it is suitable for current needs.