Strabon

changeset 1371:db18a6676e05

fixed a bug in which postgis:ST_Centroid did not work in the SELECT clause with input geometries from the database
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Sep 20 14:25:45 2014 +0300 (2014-09-20)
parents d0f7134cc715
children 137486888a68
files generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBQueryBuilder.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBQueryBuilder.java	Sat Sep 20 11:07:36 2014 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBQueryBuilder.java	Sat Sep 20 14:25:45 2014 +0300
     1.3 @@ -778,6 +778,9 @@
     1.4  		else if (expr instanceof GeneralDBSqlGeoBoundary) {
     1.5  			append((GeneralDBSqlGeoBoundary)expr, filter);
     1.6  		}
     1.7 +		else if (expr instanceof GeneralDBSqlST_Centroid) {
     1.8 +			append((GeneralDBSqlST_Centroid)expr, filter);
     1.9 +		}
    1.10  		//Metrics
    1.11  		else if (expr instanceof GeneralDBSqlGeoArea) {
    1.12  			append((GeneralDBSqlGeoArea)expr, filter);