Package org.bremersee.geojson.crs
Class GeoJsonNamedCrs
java.lang.Object
org.bremersee.geojson.crs.AbstractGeoJsonCrs
org.bremersee.geojson.crs.GeoJsonNamedCrs
- All Implemented Interfaces:
Serializable
A reference to the coordinate reference system (CRS) of a GeoJSON object by it's name.
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GeoJsonNamedCrs(String crsName) Constructs a coordinate reference system (CRS) with it's name. -
Method Summary
Methods inherited from class org.bremersee.geojson.crs.AbstractGeoJsonCrs
equals, getProperties, hashCode, setProperties, toString
-
Constructor Details
-
GeoJsonNamedCrs
public GeoJsonNamedCrs()Default constructor. -
GeoJsonNamedCrs
Constructs a coordinate reference system (CRS) with it's name.- Parameters:
crsName- the name of the coordinate reference system (CRS)
-
-
Method Details
-
getCrs
Return the name of the coordinate reference system (CRS).- Returns:
- the name of the coordinate reference system (CRS)
-
setCrs
Set the name of the coordinate reference system (CRS).- Parameters:
crs- the name
-