Browse Source

修改地形判断出错

服务器 11 months ago
parent
commit
dfea9bd95e

+ 1 - 1
onemap-modules/onemap-analyse/src/main/java/com/onemap/analyse/service/impl/RasterServiceImpl.java

@@ -79,7 +79,7 @@ public class RasterServiceImpl implements IRasterService {
         resMap.put("midHeight", midHeight);
         resMap.put("maxHeight", maxHeight);
         resMap.put("minHeight", minHeight);
-        if (bottomGeom.contains(";")) {
+        if (!bottomGeom.toLowerCase().contains("srid")) {
             bottomGeom = "SRID=4326;" + bottomGeom;
         }