Strabon

changeset 709:d45be7385224

added replaced mbbIntersect by mbbOverlap
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Fri Nov 09 19:19:38 2012 +0200 (2012-11-09)
parents fd5b6c160777
children 9110b919c347 fe96408b7b56
files examples/teleios/landUseInvalidForFires.rq examples/teleios/runChain.sh
line diff
     1.1 --- a/examples/teleios/landUseInvalidForFires.rq	Fri Nov 09 14:52:09 2012 +0200
     1.2 +++ b/examples/teleios/landUseInvalidForFires.rq	Fri Nov 09 19:19:38 2012 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4  			noa:hasGeometry ?hGeo.
     1.5  		?a  rdf:type   clc:ExcludeArea;
     1.6  			clc:hasGeometry ?aGeo.
     1.7 -		FILTER(strdf:mbbIntersects(?hGeo,?aGeo)).
     1.8 +		FILTER(strdf:mbbOverlaps(?hGeo,?aGeo)).
     1.9  	} 
    1.10  	GROUP BY ?h ?hGeo
    1.11  	HAVING strdf:contains(strdf:union(?aGeo),?hGeo)
     2.1 --- a/examples/teleios/runChain.sh	Fri Nov 09 14:52:09 2012 +0200
     2.2 +++ b/examples/teleios/runChain.sh	Fri Nov 09 19:19:38 2012 +0200
     2.3 @@ -91,14 +91,14 @@
     2.4  POSTGRES_MAIN_VERSION=$(sudo service ${postgres} status | grep -o '.\..' | cut -b 1)
     2.5  
     2.6  #echo "Dropping endpoint database";
     2.7 -#dropdb -U postgres ${DB}
     2.8 +dropdb -U postgres ${DB}
     2.9  
    2.10  #echo "Creating endpoint database"
    2.11 -#createdb -U postgres ${DB} 
    2.12 +createdb -U postgres ${DB} 
    2.13  
    2.14  # load data
    2.15  #curl -s http://dev.strabon.di.uoa.gr/rdf/Kallikratis-Coastline-Corine-dump-postgres-${POSTGRES_MAIN_VERSION}.tgz | tar xz -O | psql -d ${DB}
    2.16 -#psql -U postgres -d ${DB} -f /tmp/Kallikratis-Coastline-ExcludeArea-dump.sql
    2.17 +psql -U postgres -d ${DB} -f /tmp/Kallikratis-Coastline-ExcludeArea-dump.sql
    2.18  #psql -U postgres ${DB} -c 'VACUUM ANALYZE' 
    2.19  
    2.20  echo "starting tomcat"