object CRS extends Serializable
- Alphabetic
- By Inheritance
- CRS
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromEpsgCode(epsgCode: Int): CRS
Creates a CoordinateReferenceSystem (CRS) from an EPSG code.
-
def
fromName(name: String): CRS
Creates a CoordinateReferenceSystem (CRS) from a well-known name.
Creates a CoordinateReferenceSystem (CRS) from a well-known name. CRS names are of the form: "authority:code", with the components being:
- authority is a code for a namespace supported by PROJ.4. Currently supported values are EPSG, ESRI, WORLD, NAD83, NAD27. If no authority is provided, the EPSG namespace is assumed.
- code is the id of a coordinate system in the authority namespace. For example, in the EPSG namespace a code is an integer value which identifies a CRS definition in the EPSG database. (Codes are read and handled as strings).
An example of a valid CRS name is EPSG:3005.
- name
The name of a coordinate system, with optional authority prefix
- returns
The CoordinateReferenceSystem corresponding to the given name
-
def
fromString(name: String, proj4Params: String): CRS
Creates a CoordinateReferenceSystem from a PROJ.4 projection parameter string.
Creates a CoordinateReferenceSystem from a PROJ.4 projection parameter string.
An example of a valid PROJ.4 projection parameter string is:
+proj=aea +lat_1=50 +lat_2=58.5 +lat_0=45 +lon_0=-126 +x_0=1000000 +y_0=0 +ellps=GRS80 +units=m
- name
A name for this coordinate system.
- proj4Params
A PROJ.4 projection parameter string
- returns
The specified CoordinateReferenceSystem
-
def
fromString(proj4Params: String): CRS
Creates a CoordinateReferenceSystem from a PROJ.4 projection parameter string.
Creates a CoordinateReferenceSystem from a PROJ.4 projection parameter string.
An example of a valid PROJ.4 projection parameter string is:
+proj=aea +lat_1=50 +lat_2=58.5 +lat_0=45 +lon_0=-126 +x_0=1000000 +y_0=0 +ellps=GRS80 +units=m
- proj4Params
A PROJ.4 projection parameter string
- returns
The specified CoordinateReferenceSystem
-
def
fromWKT(wktString: String): Option[CRS]
Creates a CoordinateReferenceSystem (CRS) from a well-known-text String.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getEpsgCode(proj4String: String): Option[Int]
Returns the numeric EPSG code of a proj4string.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readEpsgFromParameters(proj4String: String): Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()