On Tue, Jul 20, 2010 at 8:11 AM, John Smith <[email protected]> wrote: > I'm up to trying to import data, I'm using a region extract rather > than the entire planet database but I'm hitting the following error: > > org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to > insert user with id -1 into the database. > > Is this because the user table isn't populated? If so is there an easy > way to populate the user table based on information from an osm file? > > As per instructions on the rails port wiki page I ran the increment > queries and then tried to run this command: > > osmosis --read-xml-0.6 file="planet.osm.bz2" --write-apidb-0.6 > populateCurrentTables=yes host="localhost" database="openstreetmap" > user="openstreetmap" password="openstreetmap" validateSchemaVersion=no
If you haven't got mail setup for this box you won't have confirmed that user / email address. Turn the user active in the database by hand and it should work. _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

