[OSM-talk] osmosis

Mark Williams mark.666 at blueyonder.co.uk
Thu Feb 28 22:36:25 GMT 2008


Frederik Ramm wrote:
> 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
> 

Hey, that works!! Thank you - I will go play with the other stuff again :)

Mark





More information about the talk mailing list