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 polygon.

This is a real problem because there are (a few) points which really lie on the +180° longitude, e.g. http://www.openstreetmap.org/browse/node/1113705746

Without this node there are problems to calculate the multipolygon of the russian country. So there is a specific need for that.

Can you change the osmosis behaviour so that +180° longitude is supported?

WanMil
asia
1
   2.617000E+01 8.452666E+01
   1.800000E+02 8.438487E+01
   1.800000E+02 -6.047430E+00
   1.549109E+02 -1.706773E+01
   1.423600E+02 -1.028527E+01
   1.305624E+02 -1.026417E+01
   1.180968E+02 -1.325060E+01
   1.027800E+02 -1.197537E+01
   6.162511E+01 -9.103512E+00
   5.422892E+01 1.260610E+01
   4.420775E+01 1.167860E+01
   3.978016E+01 1.656855E+01
   3.160401E+01 3.158641E+01
   3.586444E+01 3.629862E+01
   3.655970E+01 3.766439E+01
   4.410530E+01 3.798438E+01
   4.301638E+01 4.127191E+01
   4.128304E+01 4.141274E+01
   3.625000E+01 4.513920E+01
   3.860000E+01 4.899000E+01
   3.170000E+01 5.204300E+01
   2.617000E+01 5.614300E+01
   2.617000E+01 8.452666E+01
END
2
   -1.682500E+02   7.770000E+01
   -1.800000E+02   7.770000E+01
   -1.800000E+02   5.810000E+01
   -1.682500E+02   5.810000E+01
   -1.682500E+02   7.770000E+01
END
END
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
  <node id='123456' action='modify' visible='true' timestamp='2011-05-20 12:20:00' version='1' lat='71.67351438109549' lon='180' />
</osm>
_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to