public enum SrsSyntax extends Enum<SrsSyntax>
Enum Constant and Description |
---|
EPSG_CODE
Commonly used syntax outside of gml that follows the form:
EPSG:1234
.
|
OGC_HTTP_URI
Newest form from OGC using a url syntax of the form:
"http://www.opengis.net/def/crs/EPSG/0/1234
.
|
OGC_HTTP_URL
First form of url syntax used by GML 2.1.2 that follows the form:
http://www.opengis.net/gml/srs/epsg.xml#1234
.
|
OGC_URN
Revised form of urn syntax used by GML 3 that follows the form:
urn:ogc:def:crs:EPSG::1234
.
|
OGC_URN_EXPERIMENTAL
First form of urn syntax used by GML 3 that follows the form:
urn:x-ogc:def:crs:EPSG:1234
.
|
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
static SrsSyntax |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SrsSyntax[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SrsSyntax EPSG_CODE
EPSG:1234.
public static final SrsSyntax OGC_HTTP_URL
http://www.opengis.net/gml/srs/epsg.xml#1234.
public static final SrsSyntax OGC_URN_EXPERIMENTAL
urn:x-ogc:def:crs:EPSG:1234.
public static final SrsSyntax OGC_URN
urn:ogc:def:crs:EPSG::1234.
public static final SrsSyntax OGC_HTTP_URI
"http://www.opengis.net/def/crs/EPSG/0/1234.
public static SrsSyntax[] values()
for (SrsSyntax c : SrsSyntax.values()) System.out.println(c);
public static SrsSyntax valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPrefix()
Copyright © 1996–2019 Geotools. All rights reserved.