Strabon
changeset 124:1f462a2db241
added gml3 reader for supporting gml3_1_1 store
author | Konstantina Mpereta <grad1110@di.uoa.gr> |
---|---|
date | Fri Apr 20 15:05:09 2012 +0300 (2012-04-20) |
parents | fe416921b9ac |
children | 8ebd01848161 |
files | evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/StrabonPolyhedron.java |
line diff
1.1 --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/StrabonPolyhedron.java Fri Apr 20 15:01:47 2012 +0300 1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/StrabonPolyhedron.java Fri Apr 20 15:05:09 2012 +0300 1.3 @@ -49,7 +49,6 @@ 1.4 import com.vividsolutions.jts.geom.Polygon; 1.5 import com.vividsolutions.jts.geom.impl.CoordinateArraySequence; 1.6 import com.vividsolutions.jts.io.ParseException; 1.7 -import com.vividsolutions.jts.io.gml2.GMLReader; 1.8 1.9 public class StrabonPolyhedron implements Value { 1.10 1.11 @@ -671,9 +670,6 @@ 1.12 1.13 if(geometry.contains("gml")) 1.14 { 1.15 - //GMLReader gmlreader= new GMLReader(); 1.16 - //GeometryFactory gf = new GeometryFactory(); 1.17 - //Geometry geo = gmlreader.read(geometry,gf); 1.18 Geometry geo = GMLReader(geometry); 1.19 this.geometry = new StrabonPolyhedron(geo).geometry; 1.20 } 1.21 @@ -691,9 +687,6 @@ 1.22 public StrabonPolyhedron(String WKT, int algorithm) throws Exception { 1.23 if(WKT.contains("gml")) 1.24 { 1.25 - //GMLReader gmlreader= new GMLReader(); 1.26 - //GeometryFactory gf = new GeometryFactory(); 1.27 - //Geometry geo = gmlreader.read(WKT,gf); 1.28 Geometry geo = GMLReader(WKT); 1.29 this.geometry = new StrabonPolyhedron(geo).geometry; 1.30 }