[osmosis-dev] users.txt

Brett Henderson brett at bretth.com
Thu Aug 12 11:18:32 BST 2010


Hi Peter,

The --write-pgsql-dump task creates one COPY txt file per table in the
database.  The users.txt file is one of the files created.

The issue you're facing is likely to be that the task defaults to trying to
create all files in a "pgimport" sub-directory which probably doesn't
exist.  The users.txt file simply happens to be the first one that Osmosis
tries to create.  Either create the pgimport directory, or add "directory=."
option to the task.  I don't know why I didn't default it to be the current
directory ...

Brett

On Thu, Aug 12, 2010 at 8:04 PM, Peter Körner <osm-lists at mazdermind.de>wrote:

> Hi
>
> I'm stying do import some test-files usind osmosis trunk HEAD. All nodes &
> ways contain a uid as well as a username. The task fail
>
> osmosis --read-xml file="node-move.osm" --write-pgsql-dump
>
> fails with
>
> Caused by: java.io.FileNotFoundException: pgimport/users.txt (No such file
> or directory)
>
> what is this users.txt for? I didn't find anything on the wiki.
>
> Peter
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100812/e4b168fa/attachment.html>


More information about the osmosis-dev mailing list