Package org.bremersee.geojson
Class GeoJsonNamedCrs
- java.lang.Object
-
- org.bremersee.geojson.AbstractGeoJsonCrs
-
- org.bremersee.geojson.GeoJsonNamedCrs
-
- All Implemented Interfaces:
Serializable
public class GeoJsonNamedCrs extends AbstractGeoJsonCrs
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoJsonNamedCrs()Default constructor.GeoJsonNamedCrs(String crsName)Constructs a coordinate reference system (CRS) with it's name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCrs()Return the name of the coordinate reference system (CRS).voidsetCrs(String crs)Set the name of the coordinate reference system (CRS).-
Methods inherited from class org.bremersee.geojson.AbstractGeoJsonCrs
equals, getProperties, hashCode, setProperties, toString
-
-
-
-
Constructor Detail
-
GeoJsonNamedCrs
public GeoJsonNamedCrs()
Default constructor.
-
GeoJsonNamedCrs
public GeoJsonNamedCrs(String crsName)
Constructs a coordinate reference system (CRS) with it's name.- Parameters:
crsName- the name of the coordinate reference system (CRS)
-
-