[OSM-talk] osmosis

Frederik Ramm frederik at remote.org
Thu Feb 28 19:22:57 GMT 2008


Hi,

> [mark at dragon osmosis]$ java -mx1024m -jar osmosis.jar --read-xml
> file=~/Desktop/europe.osm.bz2 --bounding-polygon file=~/geo/gb-irl.poly
> --write-xml file="UK.osm"
> 
> failed as below on Mandriva 2008
> That's yesterday's europe, svn's gb-irl.poly, osmosis 0.24 (evidently..)
> & fully updated Mandriva 2008

The gb-irl.poly in svn was buggy. These files need to look like so:

<first line, random text>

then repeat the following as often as you want:

<polygon number>
   <co-ordinates>
   <co-ordinates>
   ...
<END>

after the last polygon,

<END>

so any valid polygon file must have two ENDs at the end, and this one
hadn't. Fixed now.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the talk mailing list