Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Jan 4, 2025
1 parent 9166cc0 commit bada906
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ public String getFeatureHierarchyQuery() {
try {
return PlainText.of(featureHierarchyQuery.get(),
"F.ENVELOPE",
"G.GEOMETRY",
"A.MULTI_POINT").toString();
"G.GEOMETRY").toString();
} catch (Exception e) {
throw new IllegalStateException("Failed to create feature hierarchy query.", e);
}
Expand All @@ -103,8 +102,7 @@ public String getFeatureHierarchyQuery(int targetSRID) {
try {
return PlainText.of(featureHierarchyQuery.get(),
"st_transform(F.ENVELOPE, " + targetSRID + ")",
"st_transform(G.GEOMETRY, " + targetSRID + ")",
"st_transform(A.MULTI_POINT, " + targetSRID + ")").toString();
"st_transform(G.GEOMETRY, " + targetSRID + ")").toString();
} catch (Exception e) {
throw new IllegalStateException("Failed to create feature hierarchy query.", e);
}
Expand Down

0 comments on commit bada906

Please sign in to comment.