Open SimonBin opened 1 year ago
@SimonBin Can you specify more precisely input/output conditions? My guesses:
hi @VladimirAlexiev and thank you for your interest, similar to what you guessed, this is what we implemented:
as you can see, our implementation is just a wrapper to JTS LineMerger + OverlayNGRobust.union
As per https://github.com/opengeospatial/ogc-geosparql/issues/257#issuecomment-1428705510
We would like to suggest to have a
geof:lineMerge
function in the standard, ( that could be used together with the collect function suggested by us in #400 ) .Here is a sample query where we would like to use it, to assemble river line pieces from Openstreetmap into a single-(multi-)line river geometry:
Our implementation can be found here: https://github.com/Scaseco/jenax/blob/jena-4.8.0/jenax-arq-parent/jenax-arq-plugins-parent/jenax-arq-plugins-bundle/src/main/java/org/aksw/jena_sparql_api/sparql/ext/geosparql/GeoSparqlExFunctions.java#L94