MathiasVDA opened a new issue, #3576: URL: https://github.com/apache/jena/issues/3576
### Version 5.4.0 ### What happened? Hello Running this query on a spatial : ``` PREFIX gsp: <http://www.opengis.net/ont/geosparql#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX spatialf: <http://jena.apache.org/function/spatial#> select * WHERE { bind("<http://www.opengis.net/def/crs/EPSG/0/25832> POINT ZM (628319.4 6654189.1 -99999 -1)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> as ?wkt_epsg25832) BIND(spatialf:transformSRS(?wkt_epsg25832, "http://www.opengis.net/def/crs/EPSG/0/4326") as ?wkt_epsg4326) } ``` Will result in this: wkt_epsg25832 | wkt_epsg4326 -- | -- 1 | "<http://www.opengis.net/def/crs/EPSG/0/25832> POINT ZM (628319.4 6654189.1 -99999 -1)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> | "<http://www.opengis.net/def/crs/EPSG/0/4326> POINT ZM(60.0049 11.301201 -99999)"^^<http://www.opengis.net/ont/geosparql#wktLiteral> In order to be a valid POINT ZM, there should be 4 coordinates and not three. ### Relevant output and stacktrace ```shell ``` ### Are you interested in making a pull request? None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
