Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osm2pgsql --apend not working properly #4583

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

osm2pgsql --apend not working properly #4583

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: MichalP
[Submitted to the original trac issue database at 8.36am, Thursday, 20th September 2012]

creating osm change file via osmosis and 2 geofabrik country dumps (yesterday's and today's), these two commands make different databases:

--create --slim --latlong --hstore today.pbf (226019 osm lines in slovakia dump)
and
--create --slim --latlong --hstore yesterday.pbf
--append --slim --latlong --hstore diff.osc (225858 lines)

after several hours of investigation i cannot find any pattern on which some point/line updates are ignored or not. looks totally random. the changes are present in osc file.

what should i search for? or did I miss some configuration option?

current svn version of osmosis and osm2pgsql, updated debian testing, postgres 9.1

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 10.23pm, Saturday, 27th October 2012]

Can you say more on which database contains more lines / points / polygons? How did you check that they are different? How did you create the diff with osmosis?

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 10.30am, Tuesday, 3rd January 2017]

user never replied, and insufficient information to reproduce.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant