public class UGCGeometryProvider extends java.lang.Object implements GeometryProvider, ProviderContextAware
Geometry service provider implemented based on UGC.
Constructor and Description |
---|
UGCGeometryProvider() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Geometry> |
coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys)
According to the target coordinate system, converting the collection object coordinate system
|
MeasureResult |
measureArea(Point2D[] points, MeasureParameter measureParam)
Measures areas according to 2D geographic coordinates and measuring parameters.
|
MeasureResult |
measureDistance(Point2D[] points, MeasureParameter measureParam)
Measures distances according to 2D geographic coordinates and measuring parameters.
|
void |
setProviderContext(ProviderContext context)
Sets the service provider context
|
public MeasureResult measureDistance(Point2D[] points, MeasureParameter measureParam)
Measurable
Measures distances according to 2D geographic coordinates and measuring parameters.
measureDistance
in interface Measurable
points
- The array of 2D geographic coordinates.measureParam
- The measuring parameter.public MeasureResult measureArea(Point2D[] points, MeasureParameter measureParam)
Measurable
Measures areas according to 2D geographic coordinates and measuring parameters.
measureArea
in interface Measurable
points
- The array of 2D geographic coordinates.measureParam
- The measuring parameter.public void setProviderContext(ProviderContext context)
ProviderContextAware
Sets the service provider context
setProviderContext
in interface ProviderContextAware
context
- service provider contextpublic java.util.List<Geometry> coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys)
CoordTransferCapabilities
According to the target coordinate system, converting the collection object coordinate system
coordtransfer
in interface CoordTransferCapabilities