Re: [osmosis-dev] bounding-polygon dismisses points at +180° longitude

2011-07-22 Thread Brett Henderson
On Sun, Jul 17, 2011 at 4:25 AM, WanMil wmgc...@web.de wrote: Hi, what need to be done to get this issue fixed? The following things were provided: * a simple testcase * a scenario in which the problem is a real issue (extracting russian border) * a simple patch based on Brett ideas I

Re: [osmosis-dev] bounding-polygon dismisses points at +180° longitude

2011-06-14 Thread WanMil
Although I wrote to Brett directly that extending the polygon to 181° works I have observed that is works only for osm input but not for pbf input. osmosis --read-pbf file=180.osm.pbf --bounding-polygon file=asia.poly --write-xml file=filtered.osm throws an exception: SCHWERWIEGEND: Thread

Re: [osmosis-dev] bounding-polygon dismisses points at +180° longitude

2011-06-14 Thread WanMil
Hi, Although I wrote to Brett directly that extending the polygon to 181° works I have observed that is works only for osm input but not for pbf input. osmosis --read-pbf file=180.osm.pbf --bounding-polygon file=asia.poly --write-xml file=filtered.osm throws an exception: SCHWERWIEGEND:

[osmosis-dev] bounding-polygon dismisses points at +180° longitude

2011-06-13 Thread WanMil
Hi, today I tried to cut out the data of asia from a planet file using the attached asia.poly file. Osmosis is doing fine with the exception that the points at +180° longitude are missing. I created a little test osm file (180.osm) with one node at +180° and it's removed by the asia.poly