com.supermap.onlineservices
Class CoordinateConvertParameter
- java.lang.Object
-
- com.supermap.onlineservices.CoordinateConvertParameter
-
public class CoordinateConvertParameter extends java.lang.Object
Coordinate convert parameter class.
-
-
Constructor Summary
Constructors Constructor and Description CoordinateConvertParameter()
The default constructor for constructing a newCoordinateConvertParameter
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CoordinateType
getDestCoordinateType()
Get the target coordinate type.Point2Ds
getPoint2Ds()
Get the converted point2Ds.CoordinateType
getSrcCoordinateType()
Get the source coordinate type.void
setDestCoordinateType(CoordinateType type)
Must set parameters The target coordinate type of the conversion.void
setKey(java.lang.String key)
Must set the parameters, apply the key (set the authorization code).void
setPoint2Ds(Point2Ds point2Ds)
Must set parameters Pre-convert coordinates, support batch conversion.void
setSrcCoordinateType(CoordinateType type)
Must set parameters Enter the coordinate type of Point2D.
-
-
-
Constructor Detail
-
CoordinateConvertParameter
public CoordinateConvertParameter()
The default constructor for constructing a newCoordinateConvertParameter
object.
-
-
Method Detail
-
setKey
public void setKey(java.lang.String key)
Must set the parameters, apply the key (set the authorization code).- Parameters:
key
- Authorization code.
-
getPoint2Ds
public Point2Ds getPoint2Ds()
Get the converted point2Ds.- Returns:
- Point2Ds.
-
setPoint2Ds
public void setPoint2Ds(Point2Ds point2Ds)
Must set parameters Pre-convert coordinates, support batch conversion. The number of batch support coordinates is based on the HTTP GET method request.- Parameters:
point2Ds
- The point2Ds to be converted.
-
getSrcCoordinateType
public CoordinateType getSrcCoordinateType()
Get the source coordinate type.- Returns:
- The source coordinate type.
-
setSrcCoordinateType
public void setSrcCoordinateType(CoordinateType type)
Must set parameters Enter the coordinate type of Point2D.- Parameters:
type
- The source coordinate type.
-
getDestCoordinateType
public CoordinateType getDestCoordinateType()
Get the target coordinate type.- Returns:
- The target coordinate type.
-
setDestCoordinateType
public void setDestCoordinateType(CoordinateType type)
Must set parameters The target coordinate type of the conversion.- Parameters:
type
- The target coordinate type.
-
-