[OSM-dev] Osmosis Error on postgis import of planet file in org.PGgeometry.getValue

Torge Szczepanek osm-dev at cygnusnetworks.de
Thu Jul 23 09:43:38 BST 2009


Hi!

> I haven't seen this particular error before.  My suspicion is that it's
> caused by ways referring to non-existent nodes.  I thought the code was
> capable of dealing with that scenario, but it looks like that isn't the
> case.

Ok, thanks.

> I don't have time to look into this at the moment, but one workaround
> might be to run the entire planet through the --bbox task:
> --bbox clipIncompleteEntities=true idTrackerType=BitSet

I will try your suggestion.

> PS. The --write-pgsql task is slow for very large datasets.  You would
> be better off using the --write-pgsql-dump task and loading the COPY
> files into the database as a separate step, it is much much faster.

Nice. I will also try to switch to --write-pgsql-dump.

Thank you very much!

I will give you feedback whether this works or not and put a bug report
into trac.

Greetings Torge




More information about the dev mailing list