New answers tagged osm2pgsql
This is a well known issue in osm2pgsql. See https://github.com/openstreetmap/osm2pgsql/issues/16 . This issue is raised when osm2pgsql slim mode is used and multiple geometries are imported. Don't use osm2pgsql slim mode, then the issue will probably go away. edit: Or it might be a stale version of osm2pgsql: ...
This page suggests a panel of ways to extract OSM data and display them into Desktop GIS. These are not necessarily based on command lines. It might help you.
There is no way to export a osm file from a database with osm2pgsql schema. So I solved my problem creating a database with the snapshot schema that is a modified and simplified version of the main OSM DB schema. I imported my osm file and redid the changes that I had made in the database with the osm2pgsql schema in the database with the snapshot schema. ...
Top 50 recent answers are included