On Fri, Oct 1, 2010 at 12:23 AM, Curt Nowak <[email protected]>wrote:
> Hello dev, > > I also tested osmosis 0.37-SNAPSHOT with the bin-support for various > countries downloaded at Geofabrik. > In contrast to the -xml tasks I *sometimes* ran into an exception using the > -bin tasks in combination with the --used-node task. > > For my example I used slovenia.osm.pbf (29-Sep-2010 03:41) downloaded at > Geofabrik. > Here's a simplified yet working example of the two commands I ran > consecutively: > osmosis.bat --read-bin slovenia.osm.pbf outPipe.0="fileReadPipe" > --used-node-0.6 inPipe.0="fileReadPipe" outPipe.0="usedNodePipe" --write-bin > inPipe.0="usedNodePipe" slovenia_filtered.osm.pbf > osmosis.bat -verbose --read-bin slovenia_filtered.osm.pbf > outPipe.0="fileReadPipe" --write-bin inPipe.0="fileReadPipe" > slovenia_filtered2.osm.pbf > (Complete error message at the end of this mail) > > Note, that running the following two commands does *not* throw an exception > (the difference is the -xml version of writing and reading): > osmosis.bat --read-bin slovenia.osm.pbf outPipe.0="fileReadPipe" > --used-node-0.6 inPipe.0="fileReadPipe" outPipe.0="usedNodePipe" --write-xml > inPipe.0="usedNodePipe" slovenia_filtered.osm > osmosis.bat --read-xml slovenia_filtered.osm outPipe.0="fileReadPipe" > --write-bin inPipe.0="fileReadPipe" > slovenia_gefiltert_no_residential.osm.pbf > > What's up with that? Why is there suddenly a negative user id involved that > is not present in the .osm file of Slovenia? Btw: This does *not* happen for > all tested input files. E.g. Andorra worked fine. > For users that aren't public, a user called NONE is used within the Osmosis pipeline. It has an id of -1. But that is typically not written to data files. The bin tasks may need to update their handling of private users ... Brett
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

