You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2015-04-16 13:58:19
- ikenZ
- Member
- Registered: 2015-04-16
- Posts: 5
some error of using osm2pgsql to import .osm data to PostgreSQL
Hi people!
I'm a novice!
after I used osm2pgsql to import .osm data to PostgreSQL, I found tables(planet_osm_line/points/polygon/roads) haves no primary key.
and, the command I used like this and it ran all ok :
osm2pgsql -U postgres -d osmdb2 -k -s -S ./default.style ./beijing_china.osm
what do you think?
thanks.
Offline