Package org.bremersee.geojson.crs
Class GeoJsonLinkedCrs
java.lang.Object
org.bremersee.geojson.crs.AbstractGeoJsonCrs
org.bremersee.geojson.crs.GeoJsonLinkedCrs
- All Implemented Interfaces:
Serializable
A link to the coordinate reference system (CRS) of a GeoJSON object.
The specification of coordinate reference systems has been removed, see rfc7946 appendix B, the "crs" member is no longer used.
- Author:
- Christian Bremer
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GeoJsonLinkedCrs(String href) Constructs the coordinate reference system (CRS) with the specified link.GeoJsonLinkedCrs(String href, String type) Constructs the coordinate reference system (CRS) with the specified link and type. -
Method Summary
Methods inherited from class org.bremersee.geojson.crs.AbstractGeoJsonCrs
equals, getProperties, hashCode, setProperties, toString
-
Field Details
-
TYPE_PROJ4
The coordinate reference system (CRS) with typeproj4.- See Also:
-
TYPE_OGC_WKT
The coordinate reference system (CRS) with typeogcwkt.- See Also:
-
TYPE_ESRI_WKT
The coordinate reference system (CRS) with typeesriwkt.- See Also:
-
-
Constructor Details
-
GeoJsonLinkedCrs
public GeoJsonLinkedCrs()Default constructor. -
GeoJsonLinkedCrs
Constructs the coordinate reference system (CRS) with the specified link.- Parameters:
href- the link to the coordinate reference system (CRS)
-
GeoJsonLinkedCrs
Constructs the coordinate reference system (CRS) with the specified link and type.- Parameters:
href- the link to the coordinate reference system (CRS)type- the type of the coordinate reference system (CRS)
-
-
Method Details
-
getHref
Return the link to the coordinate reference system (CRS).- Returns:
- the link to the coordinate reference system (CRS)
-
setHref
Set the link to the coordinate reference system (CRS).- Parameters:
href- the link to the coordinate reference system (CRS)
-
getType
Return the type of the coordinate reference system (CRS).- Returns:
- the type of the coordinate reference system (CRS)
-
setType
Set the type of the coordinate reference system (CRS).- Parameters:
type- the type of the coordinate reference system (CRS)
-