|
@@ -35,7 +35,7 @@ public class RasterServiceImpl implements IRasterService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Map<String, Object> getCutFill(CutFillVo cutFillVo,String tableName) {
|
|
|
+ public Map<String, Object> getCutFill(CutFillVo cutFillVo, String tableName) {
|
|
|
|
|
|
Double midHeight = cutFillVo.getHeight();
|
|
|
if (midHeight == null) {
|
|
@@ -79,8 +79,11 @@ public class RasterServiceImpl implements IRasterService {
|
|
|
resMap.put("midHeight", midHeight);
|
|
|
resMap.put("maxHeight", maxHeight);
|
|
|
resMap.put("minHeight", minHeight);
|
|
|
+ if (bottomGeom.contains(";")) {
|
|
|
+ bottomGeom = "SRID=4326;" + bottomGeom;
|
|
|
+ }
|
|
|
|
|
|
- bottomGeom = analyseUtilsDBMapper.differenceWkt("SRID=4326;" + bottomGeom, midGeom);
|
|
|
+ bottomGeom = analyseUtilsDBMapper.differenceWkt(bottomGeom, midGeom);
|
|
|
// resMap.put("midUpGeom",midUpGeom);
|
|
|
resMap.put("midGeom", midGeom);
|
|
|
// resMap.put("midDownGeom",midDownGeom);
|