Interface CoordinateReferenceSystem
- All Known Implementing Classes:
AbstractCRS,BoundCRS,CompoundCRS,GeographicCRS,ProjectedCRS,Transformation,VerticalCRS
public interface CoordinateReferenceSystem
Base interface for all coordinate reference system types in PROJJSON.
This interface represents the common structure of a coordinate reference system in the PROJJSON format. Specific implementations handle different CRS types.
According to the PROJJSON schema, a CRS can be one of:
- GeographicCRS - A CRS based on a geographic coordinate system
- ProjectedCRS - A CRS based on a projected coordinate system
- VerticalCRS - A CRS for elevation or depth measurements
- CompoundCRS - A CRS that combines multiple component CRSs
- TemporalCRS - A CRS for time measurements
- EngineeringCRS - A non-Earth-referenced CRS
- ParametricCRS - A CRS for parameter measurements
- DerivedGeographicCRS - A CRS derived from a GeographicCRS
-
Method Summary
Modifier and TypeMethodDescriptiongetArea()Gets the area of use for this coordinate reference system.getBbox()Gets the bounding box that describes the area of use.getId()Gets the ID of the coordinate reference system.getName()Gets the name of the coordinate reference system.Gets the remarks about the coordinate reference system.getScope()Gets the scope of the coordinate reference system.getType()Gets the type of coordinate reference system.
-
Method Details
-
getType
String getType()Gets the type of coordinate reference system.- Returns:
- The CRS type string
-
getName
String getName()Gets the name of the coordinate reference system.- Returns:
- The CRS name
-
getId
Identifier getId()Gets the ID of the coordinate reference system.According to the PROJJSON v0.7 schema, ID is an Identifier object with required "authority" and "code" properties.
- Returns:
- The CRS Identifier
-
getScope
String getScope()Gets the scope of the coordinate reference system.- Returns:
- The CRS scope
-
getRemarks
String getRemarks()Gets the remarks about the coordinate reference system.- Returns:
- The CRS remarks
-
getArea
String getArea()Gets the area of use for this coordinate reference system.- Returns:
- The area of use
-
getBbox
Object getBbox()Gets the bounding box that describes the area of use.- Returns:
- The bounding box as an Object which can be either a List
(v0.7 schema) or a BBox object (v0.4 schema)
-