Strabon

log testsuite/src/test/resources/geoSPARQL/BasicFunctionsTest/getSRIDFromConstantTest1.srx

age author description
2014-09-23 Babis Nikolaou it turns out that there is no simple way of having the datatype of a constant geometry available in the query builder, thus it is not easy for geof:getSRID to determine the correct datatype and return the appropriate URI for the CRS, when that has SRID 4326. Therefore, we choose to always return CRS84, even for strdf:WKT arguments. Notice, that when geof:getSRID is called evaluated in Java, we have such information available and we can return the correct result. However, we chose in changeset 1420:37792dd7041b to always push the evaluation of all spatial functions in the database. The respective tests have been updated as well.
2014-09-23 Babis Nikolaou added log4j.properties to endpoint-client; corrected test that using geof:getSRID() with a strdf:transform function with an input a geo:wktLiteral constant; in such a case we cannot return CRS84 simply because strdf:transform creates strdf:WKT datatypes for which the default CRS is EPSG:4326
2014-09-22 Babis Nikolaou This is a merge commit that addresses the following issues:
2014-09-19 Babis Nikolaou added tests for geof:getSRID(); see bug #32 (I have fixed it, but not commited it yet)