Strabon

diff examples/teleios/discover_coastlineRefinement.rq @ 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 3980b4ac9276
children
line diff
     1.1 --- a/examples/teleios/discover_coastlineRefinement.rq	Fri Sep 28 20:44:08 2012 +0300
     1.2 +++ b/examples/teleios/discover_coastlineRefinement.rq	Wed Sep 24 17:43:53 2014 +0300
     1.3 @@ -1,9 +1,11 @@
     1.4  # discover hotspots that partially overlap with the coastline
     1.5  PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     1.6  PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 
     1.7 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     1.8  
     1.9  SELECT ?h (strdf:transform(?hGeo, <http://www.opengis.net/def/crs/EPSG/0/4326>) AS ?geo) ("Coastline refinement" as ?refinement)
    1.10  WHERE { 
    1.11      ?h   noa:hasGeometry ?hGeo ;
    1.12 +         noa:hasAcquisitionTime "TIMESTAMP"^^xsd:dateTime ;
    1.13           noa:refinedBy noa:coastlineRefinement .
    1.14  }