diff --git a/src/qlever-petrimaps/GeomCache.cpp b/src/qlever-petrimaps/GeomCache.cpp index c4a667e..761576d 100644 --- a/src/qlever-petrimaps/GeomCache.cpp +++ b/src/qlever-petrimaps/GeomCache.cpp @@ -28,14 +28,14 @@ using util::geo::latLngToWebMerc; const static std::string QUERY = "PREFIX geo: " "SELECT DISTINCT ?geometry WHERE {" - " ?osm_id geo:hasGeometry ?geometry " + " ?osm_id geo:hasGeometry/geo:asWKT ?geometry " " } INTERNAL SORT BY ?geometry"; const static std::string COUNT_QUERY = "PREFIX geo: " "SELECT (COUNT(?geometry) as ?count) WHERE { " "SELECT DISTINCT ?geometry WHERE {" - " ?osm_id geo:hasGeometry ?geometry " + " ?osm_id geo:hasGeometry/geo:asWKT ?geometry " "} INTERNAL SORT BY ?geometry }"; const static std::string QUERY_WD =