|
@@ -104,7 +104,8 @@ public class RasterServiceImpl implements IRasterService {
|
|
|
|
|
|
// 返回划定范围内的矢量数据
|
|
|
midGeom = analyseUtilsDBMapper.intersectionEwkt(bottomGeom, midGeom);
|
|
|
-
|
|
|
+ // 向外扩展1米,方便前端贴图
|
|
|
+ bottomGeom=createUtilsDBMapper.bufferEwkt(useGeom, 0.5f);
|
|
|
bottomGeom = analyseUtilsDBMapper.differenceWkt(bottomGeom, midGeom);
|
|
|
resMap.put("midGeom", midGeom);
|
|
|
resMap.put("bottomGeom", bottomGeom);
|