|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.SpatialReference
public abstract class SpatialReference
An abstract class that represent the SpatialReference for the Geometry instances. SpatialReference classes are immutable.
| Nested Class Summary | |
|---|---|
static class |
SpatialReference.Type
|
| Constructor Summary | |
|---|---|
protected |
SpatialReference()
Creates an empty Spatial Reference |
| Method Summary | |
|---|---|
static SpatialReference |
create(int wkid)
Creates an instance of the spatial reference based on the provided well known ID for the horizontal coordinate system. |
static SpatialReference |
create(String wktext)
Creates an instance of the spatial reference based on the provided well known text representation for the horizontal coordinate system. |
static SpatialReference |
createLocal()
|
static SpatialReference |
createLocal(Unit unit)
Creates a local SpatialReference. |
static SpatialReference |
fromJson(org.codehaus.jackson.JsonParser parser)
|
abstract Point[] |
fromMilitaryGrid(String[] mgrsStrings,
int mode)
Converts Military Grid strings into coordinates. |
abstract int |
getID()
Returns the well known ID for the horizontal coordinate system of the SpatialReference. |
abstract String |
getText()
Returns the well known text for the for the horizontal coordinate system of the SpatialReference. |
abstract SpatialReference.Type |
getType()
Returns Map Projection type. |
abstract Unit |
getUnit()
Returns the Unit from a spatial reference |
abstract String[] |
toMilitaryGrid(int numOfDigits,
boolean rounding,
int mode,
Point[] coordinates)
Converts a list of coordinates into military grid strings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SpatialReference()
| Method Detail |
|---|
public static SpatialReference create(int wkid)
public static SpatialReference create(String wktext)
public static SpatialReference createLocal(Unit unit)
public static SpatialReference createLocal()
public static SpatialReference fromJson(org.codehaus.jackson.JsonParser parser)
throws org.codehaus.jackson.JsonParseException,
IOException
org.codehaus.jackson.JsonParseException
IOExceptionpublic abstract SpatialReference.Type getType()
public abstract int getID()
public abstract String getText()
public abstract String[] toMilitaryGrid(int numOfDigits,
boolean rounding,
int mode,
Point[] coordinates)
public abstract Point[] fromMilitaryGrid(String[] mgrsStrings,
int mode)
public abstract Unit getUnit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||