public enum SpatialRefType extends java.lang.Enum<SpatialRefType>
空间坐标系类型枚举。
空间坐标系类型,用以区分平面坐标系、经纬坐标系、投影坐标系。
枚举常量和说明 |
---|
SPATIALREF_EARTH_LONGITUDE_LATITUDE
经纬坐标系。
|
SPATIALREF_EARTH_PROJECTION
投影坐标系。
|
SPATIALREF_NONEARTH
平面坐标系。
|
限定符和类型 | 方法和说明 |
---|---|
int |
value() |
static SpatialRefType |
valueOf(int value) |
static SpatialRefType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SpatialRefType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final SpatialRefType SPATIALREF_EARTH_LONGITUDE_LATITUDE
经纬坐标系。
经纬坐标系由大地参照系、中央经线、坐标单位组成。在经纬坐标系中,单位可以是度,分,秒。东西向(水平方向)的范围为-180度至180度。南北向(垂直方向)的范围为-90度至90度。
public static final SpatialRefType SPATIALREF_EARTH_PROJECTION
投影坐标系。
投影坐标系统由地图投影方式、投影参数、坐标单位和地理坐标系组成。SuperMap iServer Java 中提供了很多预定义的投影系统,用户可以直接使用,此外,用户还可以定制自己的投影系统。
public static final SpatialRefType SPATIALREF_NONEARTH
平面坐标系。
当坐标系为平面坐标系时,不能进行投影转换。
public static SpatialRefType[] values()
for (SpatialRefType c : SpatialRefType.values()) System.out.println(c);
public static SpatialRefType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。public int value()
public static SpatialRefType valueOf(int value)