[OSM-dev] Has anyone got a cheat sheet for forking OSM at all?
Richard Weait
richard at weait.com
Wed Jul 21 15:16:53 BST 2010
On Tue, Jul 20, 2010 at 8:11 AM, John Smith <deltafoxtrot256 at gmail.com> 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.
More information about the dev
mailing list