Import database with osm2pgsql

Hello! I am trying to import OSM data into my database for Spain using osm2pgsql. However, when I run the import, it creates intermediate tables with names starting with ‘Planet_osm_*’. Instead, I need to save the data into specific tables such as ‘ways’, ‘current_ways’, ‘nodes’, ‘current_nodes’, ‘current_way_nodes’, ‘way_nodes’, etc. I am not sure what the next steps are to achieve this. Can you guide me on how to proceed?

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/import-database-with-osm2pgsql/98247