Strabon

changeset 512:4fb3d66649b6

Fixed query performing the join with administrative regions.
Using the mbb of both geometries caused hotspots falling in sea to
be coupled (erroneously) with administrative regions
author Manos Karpathiotakis <mk@di.uoa.gr>
date Thu Jul 26 17:12:40 2012 +0300 (2012-07-26)
parents b0437d20216c
children fb46f4ce4d20
files scripts/v2.2/insertMunicipalities.sparql
line diff
     1.1 --- a/scripts/v2.2/insertMunicipalities.sparql	Thu Jul 26 15:54:15 2012 +0300
     1.2 +++ b/scripts/v2.2/insertMunicipalities.sparql	Thu Jul 26 17:12:40 2012 +0300
     1.3 @@ -17,7 +17,7 @@
     1.4  	?m	rdf:type gag:Dhmos ;
     1.5  		rdfs:label ?mLabel ;
     1.6  		strdf:hasGeometry ?mGeo .
     1.7 -	FILTER(strdf:mbbIntersects(?hGeo, ?mGeo)) .
     1.8 +	FILTER(strdf:intersects(?hGeo, ?mGeo)) .
     1.9    }  
    1.10    GROUP BY ?h
    1.11  }