Martin Schäfer wrote: > Hi all, > > while trying to import osm data to a postgres 8.3.5 database with > postgis 1.3.3 installed by using osmosis-0.30 the following error > message shows up: > > >> 19.02.2009 12:01:31 >> com.bretth.osmosis.core.pipeline.common.ActiveTaskManager >> waitForCompletion >> SCHWERWIEGEND: Thread for task 1-read-xml failed >> com.bretth.osmosis.core.OsmosisRuntimeException: The database schema >> version of 3 does not match the expected version of 2. >> at >> com.bretth.osmosis.core.pgsql.common.SchemaVersionValidator.validateDBVersion(SchemaVersionValidator.java:82) >> > might it be that osmosis is not yet ready to work with postgres 8.3.5 / > postgis 1.3.3? > Is there an other version of osmosis which works with this postgres/ > postgis version? Or does anyone has a workaround for this problem? > It sounds like you have created a schema using the 0.6 version of the pgsql scripts, but tried to load it with a 0.5 osmosis task.
You're most likely loading 0.5 data so you should probably use the 0.5 script from the osmosis script directory and continue to run osmosis exactly as you are now. Brett _______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
