spatial4j icon indicating copy to clipboard operation
spatial4j copied to clipboard

jts.JTSGeometry.getBuffered with linestrings across the dateline

Open SaiKiranBurle opened this issue 8 years ago • 1 comments
trafficstars

Hi

I'm a user of cassandra-lucene-index. I noticed this when I was trying to create an index with lucene with geo transformation, which is a buffer. https://github.com/locationtech/spatial4j/blob/master/src/main/java/org/locationtech/spatial4j/shape/jts/JtsGeometry.java#L170 As already noted here, the getBuffered function doesn't work correctly across the dateline. Any estimate on when this is going to be fixed? Or a workaround for this?

Thanks

SaiKiranBurle avatar Jul 25 '17 21:07 SaiKiranBurle

Sorry, I have no estimate. The source has a comment as to how to approach it. Pull requests welcome :-)

dsmiley avatar Jul 26 '17 02:07 dsmiley