public interface GeometryComponent extends GeometrySpatialAnalyst
几何服务的服务组件接口
限定符和类型 | 方法和说明 |
---|---|
java.util.List<GeometrySpatialAnalystResult> |
buffer(java.util.List<Geometry> geometries, java.util.List<BufferAnalystParameter> bufferAnalystparameters, GeometrySpatialAnalystResultSetting resultSetting, boolean union, PrjCoordSys targetPrj)
根据几何对象列表创建缓冲区,成功则返回面对象列表,失败则返回空值。
|
Geometry |
convexHull(java.util.List<Geometry> geometries)
对几何对象进行凸多边形轮廓的实现
|
java.util.List<Geometry> |
coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys)
根据目标坐标系进行集合对象坐标系转换
|
java.util.List<Geometry> |
densify(java.util.List<Geometry> geometries, java.lang.Double maxSegmentLength, MeasureParameter measureParam) |
java.util.List<java.lang.Double> |
distance(Geometry sourceGeometry, Geometry targetGeometry, MeasureParameter measureLength)
计算几何图形之间的距离
|
java.util.List<Geometry> |
generalize(java.util.List<Geometry> geometries, java.lang.Double maxDeviation, MeasureParameter measureParam) |
java.util.List<GeometrySpatialAnalystResult> |
getLabelPoints(java.util.List<Geometry> geometries, GeometrySpatialAnalystResultSetting resultSetting)
获取几何图形标签位置
|
MeasureResult |
measureArea(Point2D[] points, MeasureParameter measureParam)
根据二维地理坐标点、量算参数,进行面积量算。
|
MeasureResult |
measureDistance(Point2D[] points, MeasureParameter measureParam)
根据二维地理坐标点、量算参数,进行距离量算。
|
MeasureResult |
measureGeoArea(Geometry geometry, MeasureParameter measureParam)
根据几何图形、量算参数,进行面积量算。
|
MeasureResult |
measureGeoDistance(Geometry geometry, MeasureParameter measureParam)
根据几何图形、量算参数,进行距离量算。
|
Geometry |
simplify(java.util.List<Geometry> geometries) |
MeasureResult measureDistance(Point2D[] points, MeasureParameter measureParam)
根据二维地理坐标点、量算参数,进行距离量算。
points
- 二维地理坐标点数组。measureParam
- 量算参数。MeasureResult measureArea(Point2D[] points, MeasureParameter measureParam)
根据二维地理坐标点、量算参数,进行面积量算。
points
- 二维地理坐标点数组。measureParam
- 量算参数。java.util.List<Geometry> coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys)
根据目标坐标系进行集合对象坐标系转换
geometry
-sourcePrjCoorSys
-targetPrjCoordSys
-MeasureResult measureGeoDistance(Geometry geometry, MeasureParameter measureParam)
根据几何图形、量算参数,进行距离量算。
geometry
- 几何图形。measureParam
- 量算参数。MeasureResult measureGeoArea(Geometry geometry, MeasureParameter measureParam)
根据几何图形、量算参数,进行面积量算。
geometry
- 几何图形。measureParam
- 量算参数。java.util.List<GeometrySpatialAnalystResult> buffer(java.util.List<Geometry> geometries, java.util.List<BufferAnalystParameter> bufferAnalystparameters, GeometrySpatialAnalystResultSetting resultSetting, boolean union, PrjCoordSys targetPrj)
geometries
- 需要创建缓冲区的几何对象。bufferAnalystparameters
- 缓冲区分析参数,必设参数。指定缓冲距离、缓冲区端点类型等缓冲区分析需要的信息,请参见 BufferAnalystParameter
类resultSetting
- 缓冲区分析结果设置。union
- 是否对结果的几何对象列表进行融合。targetPrj
- 目标坐标系,空值则不进行坐标转换。java.util.List<GeometrySpatialAnalystResult> getLabelPoints(java.util.List<Geometry> geometries, GeometrySpatialAnalystResultSetting resultSetting)
geometries
- 几何图形列表resultSetting
- 几何对象空间分析结果设置java.util.List<java.lang.Double> distance(Geometry sourceGeometry, Geometry targetGeometry, MeasureParameter measureLength)
geometry1
- 几何图形1geometry2
- 几何图形2measureLength
- 几何图形之间的距离Geometry convexHull(java.util.List<Geometry> geometries)
对几何对象进行凸多边形轮廓的实现
geometries
- 几何对象集合java.util.List<Geometry> densify(java.util.List<Geometry> geometries, java.lang.Double maxSegmentLength, MeasureParameter measureParam)
geometries
- 多边形集合maxSegmentLength
- 定点间最大间距measureLength
- 坐标以及转换单位java.util.List<Geometry> generalize(java.util.List<Geometry> geometries, java.lang.Double maxDeviation, MeasureParameter measureParam)
geometries
- 多边形集合maxDeviation
- 点间最小距离measureParam
- 单位