|
@@ -59,14 +59,15 @@ public class RasterServiceImpl implements IRasterService {
|
|
|
Map<String, Object> ringMap = new HashMap<>();
|
|
|
ringMap.put("tableName", tableName);
|
|
|
ringMap.put("geomWkt", cutFillVo.getGeom());
|
|
|
- ringMap.put("height", (midHeight + maxHeight) / 2);
|
|
|
- String midUpGeom = rasterMapper.getDemRing(ringMap);
|
|
|
+
|
|
|
+ // ringMap.put("height", (midHeight + maxHeight) / 2);
|
|
|
+ // String midUpGeom = rasterMapper.getDemRing(ringMap);
|
|
|
|
|
|
ringMap.put("height", midHeight);
|
|
|
String midGeom = rasterMapper.getDemRing(ringMap);
|
|
|
|
|
|
- ringMap.put("height", (midHeight + minHeight) / 2);
|
|
|
- String midDownGeom = rasterMapper.getDemRing(ringMap);
|
|
|
+ // ringMap.put("height", (midHeight + minHeight) / 2);
|
|
|
+ // String midDownGeom = rasterMapper.getDemRing(ringMap);
|
|
|
|
|
|
String bottomGeom = cutFillVo.getGeom();
|
|
|
|
|
@@ -74,7 +75,10 @@ public class RasterServiceImpl implements IRasterService {
|
|
|
|
|
|
resMap.put("fillVolume", fillVolume);
|
|
|
resMap.put("cutVolume", cutVolume);
|
|
|
- resMap.put("height", midHeight);
|
|
|
+
|
|
|
+ resMap.put("midHeight", midHeight);
|
|
|
+ resMap.put("maxHeight", maxHeight);
|
|
|
+ resMap.put("minHeight", minHeight);
|
|
|
|
|
|
bottomGeom = analyseUtilsDBMapper.differenceWkt("SRID=4326;" + bottomGeom, midGeom);
|
|
|
// resMap.put("midUpGeom",midUpGeom);
|