Changeset 51:24eb0fafb8dd
Legend:
 Unmodified
 Added
 Removed

evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/StrabonPolyhedron.java
r47 r51 190 190 public StrabonPolyhedron(Geometry geo) throws Exception { 191 191 this.geometry = new StrabonPolyhedron(geo, 1).geometry; 192 this.geometry.setSRID(geo.getSRID()); 192 193 } 193 194 … … 716 717 717 718 poly.geometry = A.geometry.union(x); 718 719 poly.geometry.setSRID(targetSRID); 719 720 return poly; 720 721 } … … 754 755 Geometry x = convertSRID(B.getGeometry(), sourceSRID, targetSRID); 755 756 Geometry geo = A.geometry.intersection(x); 756 757 geo.setSRID(targetSRID); 757 758 return new StrabonPolyhedron(geo); 758 759 } … … 766 767 767 768 poly.geometry = A.geometry.difference(x); 768 769 poly.geometry.setSRID(targetSRID); 769 770 return poly; 770 771 } … … 776 777 Geometry x = convertSRID(B.getGeometry(), sourceSRID, targetSRID); 777 778 poly.geometry = A.geometry.symDifference(x); 778 779 poly.geometry.setSRID(targetSRID); 779 780 return poly; 780 781 }
Note: See TracChangeset
for help on using the changeset viewer.