Open dsmiley opened 12 years ago
@JacobBrandt I'm glad you're interested in solving this! I recently posed the question on the JTS Dev list -- https://dev.locationtech.org/mhonarc/lists/jts-dev/msg00219.html
By the way, if per chance you are using Spatial4j in the context of Lucene or Solr, then another option is to use Geo3D: https://builds.apache.org/job/Solr-reference-guide-master/javadoc/spatial-search.html#geo3d-and-polygons-on-the-ellipsoid which supports various shapes on the surface of a sphere or ellipsoid. There are no special considerations about the poles or antimeridian.
@JacobBrandt do you plan on working on this within the next couple weeks? If so, I'll holdup the 0.7 release for it.
Hi there, I'm aware that this issue is a bit stale but I'm just curious if there is any timeline to fix it. We use spetial4j in GBIF and possibility to use polygons that circle the pole would be very helpful for us
Sorry, there isn't. It would be a fun project for you or anyone to give it a try!
It should be possible to take polygons that wrap a pole and process the points so that JTS is happy with it and that it covers the same area. We've got dateline support coordinate pre-processing already.