[OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
deltafoxtrot256 at gmail.com
Tue Jul 20 13:11:31 BST 2010
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
More information about the dev