eclipse-rdf4j / rdf4j

Eclipse RDF4J: scalable RDF for Java
https://rdf4j.org/
BSD 3-Clause "New" or "Revised" License
361 stars 163 forks source link

Switch geospatial library to Apache SIS #2936

Open abrokenjester opened 3 years ago

abrokenjester commented 3 years ago

We currently use JTS/Spatial4J for GeoSPARQL support, but those libraries have several limitations, the most important of which is probably that they assume a carthesian plane as base of the coordinate system - which means that things like distance calculations on a sphere (like the earth) can become inaccurate over longer distances. There's also no intrinsic support to working with mulitple coordinate systems (conversion etc), as far as I can tell.

Apache SIS (https://sis.apache.org/) is an alternative that at first glance looks promising.

neumarcx commented 3 years ago

we may want to think about some consolidation in open source projects here to provide basic geosparql support across a number of projects and possibly use the same code base and interface definition.