26 reputation
2
bio website SinaBahram.com
location
age
visits member for 2 years, 4 months
seen Aug 25 '12 at 17:38

Sep
25
awarded  Teacher
Aug
25
answered How do I split polygons that cross the dateline?
Aug
11
comment How do I split polygons that cross the dateline?
Even Rouault on the gdal-dev mailing list suggests that the topology exceptions come from an outdated version of the GEOS library. I'm running the latest installed via apt., but can grab the source. Even says no -wrapdateline is needed because all coordinates are between -180 and 180. That helps because I now know -wrapdateline is not my answer, but what is? Summary, if a single polygon contains coordinates that cross the -180/180 boundary, then MapKit on IOS paints incorrectly. It thinks the polygon is big, wrapping/stretching it around the Earth, instead of allowing it to cross the line.
Aug
7
comment How do I split polygons that cross the dateline?
Also, I found this post which nicely summarizes what's going on even though he refers to Google Earth. blog.opengeo.org/2010/08/10/shape-of-a-polygon I'm actually using Mapkit on IOS not Google Maps as I stated in the original question. Google Maps is only for the tyles underneith the overlay I'm drawing that's exhibiting this problem with the dateline.
Aug
7
comment How do I split polygons that cross the dateline?
Let's say the polygon is a triangle and the dateline intersects it. Then the triangle will get wrapped all the way around the world, so instead of a little piece of triangle to the left and a little piece of triangle to the right of the dateline, for example, we'll have some triangle to the left and as soon as it hits the dateline, it won't cross but start highlighting back the other way until it gets to the point of interest on the other side of the dateline. I simply wish to split up my polygons so they don't do this.
Aug
5
awarded  Student
Aug
5
asked How do I split polygons that cross the dateline?