Strabon
changeset 708:fd5b6c160777
changed refinePartialSeaHotspots.rq to use mbbOverlaps instead of mbbIntersects
author | Kostis Kyzirakos <kkyzir@di.uoa.gr> |
---|---|
date | Fri Nov 09 14:52:09 2012 +0200 (2012-11-09) |
parents | d9d409b5dbe7 |
children | d45be7385224 |
files | examples/teleios/refinePartialSeaHotspots.rq examples/teleios/runChain.sh |
line diff
1.1 --- a/examples/teleios/refinePartialSeaHotspots.rq Fri Nov 09 03:43:54 2012 +0200 1.2 +++ b/examples/teleios/refinePartialSeaHotspots.rq Fri Nov 09 14:52:09 2012 +0200 1.3 @@ -30,7 +30,7 @@ 1.4 noa:hasConfidence ?conf . 1.5 ?c rdf:type gag:GeometryPart ; 1.6 gag:hasGeometry ?cGeo . 1.7 - FILTER(strdf:mbbIntersects(?hGeo, ?cGeo)) . 1.8 + FILTER(strdf:mbbOverlaps(?hGeo, ?cGeo)) . 1.9 OPTIONAL { ?h noa:refinedBy ?refined } . 1.10 } 1.11 GROUP BY ?h ?hGeo ?conf ?muni
2.1 --- a/examples/teleios/runChain.sh Fri Nov 09 03:43:54 2012 +0200 2.2 +++ b/examples/teleios/runChain.sh Fri Nov 09 14:52:09 2012 +0200 2.3 @@ -12,10 +12,10 @@ 2.4 2.5 LOC="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 2.6 2.7 -ENDPOINT="http://localhost:8080/NOA" 2.8 +ENDPOINT="http://teleios4.di.uoa.gr:8080/NOA" 2.9 DB="NOA2012" 2.10 2.11 -HOTSPOTS_URL="http://localhost/MSG1" 2.12 +HOTSPOTS_URL="http://challenge.strabon.di.uoa.gr/MSG1" 2.13 ENDPOINT_SCRIPT=../../scripts/endpoint 2.14 2.15 logFile="chain.log" 2.16 @@ -90,16 +90,16 @@ 2.17 # get the main version of postgres 2.18 POSTGRES_MAIN_VERSION=$(sudo service ${postgres} status | grep -o '.\..' | cut -b 1) 2.19 2.20 -echo "Dropping endpoint database"; 2.21 -dropdb -U postgres ${DB} 2.22 +#echo "Dropping endpoint database"; 2.23 +#dropdb -U postgres ${DB} 2.24 2.25 -echo "Creating endpoint database" 2.26 -createdb -U postgres ${DB} 2.27 +#echo "Creating endpoint database" 2.28 +#createdb -U postgres ${DB} 2.29 2.30 # load data 2.31 #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.32 -psql -U postgres -d ${DB} -f /opt/data/Additional-GIS-Data/Kallikratis-Coastline-ExcludeArea-dump.sql 2.33 -psql -U postgres ${DB} -c 'VACUUM ANALYZE' 2.34 +#psql -U postgres -d ${DB} -f /tmp/Kallikratis-Coastline-ExcludeArea-dump.sql 2.35 +#psql -U postgres ${DB} -c 'VACUUM ANALYZE' 2.36 2.37 echo "starting tomcat" 2.38 if test -z "${tomcat}"; then