|
@@ -86,6 +86,19 @@ public class TableDateServiceImpl implements ITableDateService {
|
|
return tableDataMapper.getTableNames(schema, startWith);
|
|
return tableDataMapper.getTableNames(schema, startWith);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 删除狭长地块
|
|
|
|
+ *
|
|
|
|
+ * @param tableName
|
|
|
|
+ * @param minArea 小于该面积的地块将被删除
|
|
|
|
+ * @param elongationRatio 面积 (A) 和周长 (P) 之间的比率 (T = 4π(A/P²)) T小于该值的地块将被删除
|
|
|
|
+ * https://pro.arcgis.com/zh-cn/pro-app/2.9/help/data/validating-data/polygon-sliver.htm
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public void delElongatedPolygon(String tableName, float minArea, float elongationRatio) {
|
|
|
|
+ tableDataMapper.delElongatedPolygon(tableName, minArea, elongationRatio);
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public void delByLandType(String temporaryTable, String rawTable, String landTypeCode) {
|
|
public void delByLandType(String temporaryTable, String rawTable, String landTypeCode) {
|
|
tableDataMapper.delByLandType(temporaryTable, rawTable, landTypeCode);
|
|
tableDataMapper.delByLandType(temporaryTable, rawTable, landTypeCode);
|