locationtech / spatial4j

LocationTech Spatial4j: A Geospatial Library for Java

Home Page:https://projects.eclipse.org/projects/locationtech.spatial4j

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jts.JTSGeometry.getBuffered with linestrings across the dateline

SaiKiranBurle opened this issue · comments

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

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