spatial4j icon indicating copy to clipboard operation
spatial4j copied to clipboard

Implement a Polygon via java.awt.geom

Open dsmiley opened this issue 12 years ago • 0 comments

Spatial4j already has one via JTS but it would be nice to not need the JTS dependency.

Ideally add dateline cross support, akin to how I've done it with JTS. That algorithm may be too complicated and rely on too many sophisticated JTS features, so a simpler implementation could be devised, like one that shifts/pages the query shape across an un-rolled polygon that goes out of geo bounds. JtsGeometry instead slices and shifts the poly after unrolling.

dsmiley avatar Nov 20 '13 19:11 dsmiley