Strabon

annotate testsuite/src/test/resources/geoSPARQL/QueryFunctionsTest/DistanceDegreeTest.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 977335334f9a
children
rev   line source
psmeros@1135 1 <?xml version='1.0' encoding='UTF-8'?>
psmeros@1135 2 <sparql xmlns='http://www.w3.org/2005/sparql-results#'>
psmeros@1135 3 <head>
psmeros@1135 4 <variable name='dist'/>
psmeros@1135 5 </head>
psmeros@1135 6 <results>
psmeros@1135 7 <result>
psmeros@1135 8 <binding name='dist'>
sgian@1426 9 <literal datatype='http://www.w3.org/2001/XMLSchema#double'>2.0</literal>
psmeros@1135 10 </binding>
psmeros@1135 11 </result>
psmeros@1135 12 </results>
psmeros@1135 13 </sparql>