[OSM-dev] Osmosis Command Line Improvements

Brett Henderson brett at bretth.com
Mon Nov 19 00:37:59 GMT 2007


I've had a couple of reports of Locale problems with number formats in 
osmosis.  Specifically, lat/lon values are getting written to xml with a 
',' decimal separator instead of '.' which breaks during a subsequent 
xml read.  I'll fix this sometime over the next couple of days and 
release 0.24.

Brett Henderson wrote:
> Hi All,
>
> I've just released osmosis 0.23 which provides some command line 
> abbreviations to reduce the amount of typing required.
>
> The biggest change is that all task names now have alternative 
> abbreviated names.  For example, --read-xml can be written as --rx.  
> The short names are documented on the wiki page.
>
> Another change is that some tasks can now accept un-named or "default" 
> arguments.  For example, the --read-xml task file argument doesn't 
> need the "file=" prefix.  Default arguments are identified on the wiki 
> with "(default)" after the argument name.
>
> As an example, a change file can be merged into a snapshot file using 
> either of the following equivalent command lines:
> osmosis --read-xml file=snapshot1.osm --read-xml-change 
> file=change.osc --apply-change --write-xml file=snapshot2.osm
> osmosis --rx snapshot1.osm --rxc change.osc --ac --wx snapshot2.osm
>
> It's all documented on the wiki:
> http://wiki.openstreetmap.org/index.php/Osmosis
>
> It's available for download here:
> http://www.bretth.com/osmosis/osmosis-latest.zip
> http://www.bretth.com/osmosis/osmosis-0.23.zip
>
> Let me know if you run into any problems.  I hope it's useful.
>
> Cheers,
> Brett
>
> PS.  I'm also considering shortening the argument names but it's a 
> bigger change ...
>
>





More information about the dev mailing list