I'm using the following command to import an osm file into a Postgres DB using
osm2pgsql -v -a -U user -S default.style -d routing myfile.osm
I got the following error:
Setting up table: planet_osm_point Problem reading geometry information for table planet_osm_point - does it exist? Error occured, cleaning up
I guess I have to manually create the schemas into db.
Can osm2pgsql be used to automatically create such schemas? Otherwise, how can I create them?