Strabon

annotate testsuite/src/test/resources/geoSPARQL/QueryFunctionsTest/BufferDistanceTest.srx @ 1426:014379fdddf2

fixed the tests of geof:distance and geof:buffer, that had wrong results due to the
conversion of the resulting geometry to the srid 3857.
The results are validated using PostGIS, where in the case of buffer there are
small differences in the precision.
Moreover, in the case of BufferMetresTest, there was no point in having as distance
1m, because the geometry did not change, so i added 55000 metres instead (about 0.5 degrees).
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Wed Sep 24 17:43:53 2014 +0300 (2014-09-24)
parents 00fab406f0d6
children
rev   line source
sgian@1264 1 <?xml version='1.0' encoding='UTF-8'?>
sgian@1264 2 <sparql xmlns='http://www.w3.org/2005/sparql-results#'>
sgian@1264 3 <head>
sgian@1264 4 <variable name='buffer'/>
sgian@1264 5 </head>
sgian@1264 6 <results>
sgian@1264 7 <result>
sgian@1264 8 <binding name='buffer'>
sgian@1426 9 <literal datatype='http://www.opengis.net/ont/geosparql#wktLiteral'>POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))</literal>
sgian@1264 10 </binding>
sgian@1264 11 </result>
sgian@1264 12 </results>
sgian@1426 13 </sparql>