spatial4j icon indicating copy to clipboard operation
spatial4j copied to clipboard

Implement a geodetic buffered LineString

Open dsmiley opened this issue 12 years ago • 3 comments

We've already got a BufferedLineString but it isn't geodetic.

A geodetic version could be implemented structurally similarly: It could be an aggregate of buffered lines. And each buffered line is the intersection of a perpendicular pair of infinite lines that are buffered. An infinite line on a sphere is a complete ring around the globe that cuts it in half. So most of the work here would be re-imagining the InfBufLine class in a geodetic way; the rest should hopefully more or less fall into place, maybe even re-using code after some refactoring (but don't worry about re-use at the moment as it may be distracting).

dsmiley avatar Nov 20 '13 19:11 dsmiley

taking a look into this right now

varsis avatar Jan 14 '14 04:01 varsis

https://github.com/varsis/spatial4j/tree/geoBufferedLine

varsis avatar Jan 21 '14 20:01 varsis

Well I wrote one test for this tonight after finishing up the code and distance is working at least in the simple case (equator to pole!) I hope to get more done tomorrow/sunday

varsis avatar Feb 01 '14 08:02 varsis