Package uk.ac.starlink.tfcat
Class Decoders
java.lang.Object
uk.ac.starlink.tfcat.Decoders
Contains decoder implementations for all the TFCat types.
This class contains most of the logic for converting a parsed JSON
object representing a TFCat text into the classes provided by this package,
while performing attendant validation.
- Since:
- 9 Feb 2022
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
If set true, the "properties" member is permitted on FeatureCollection and Geometry objects, in contravention of Section 7.1 of the GeoJSON spec RFC7946.Decoder for a Bbox object.Decoder for a CRS object.Decoder for a DataType object.Decoder for a Feature object.static final Decoder
<FeatureCollection> Decoder for a FeatureCollection object.Decoder for an array of Field objects.Decoder for a GeometryCollection.Decoder for a Geometry object.Decoder for array of Position objects representing TFCat LineString.Decoder for an array of LineStrings.static final Decoder
<LinearRing> Decoder for a LinearRing.static final Decoder
<LinearRing[]> Decoder for array of LinearRings.static final Decoder
<LinearRing[]> Decoder for array of LinearRings representing a TFCat Polygon.static final Decoder
<LinearRing[][]> Decoder for an array of TFCat polygons.Decoder for Position object.Decoder for array of Position objects.static final Decoder
<SpectralCoords> Decoder for a SpectralCoords object.static final Decoder
<TfcatObject> Decoder for a TFCat object.static final Decoder
<TimeCoords> Decoder for a TimeCoords object. -
Method Summary
-
Field Details
-
ALLOW_FCG_PROPERTIES
public static final boolean ALLOW_FCG_PROPERTIESIf set true, the "properties" member is permitted on FeatureCollection and Geometry objects, in contravention of Section 7.1 of the GeoJSON spec RFC7946. Currently, the TFCat does allow properties here, so this value is set true.- See Also:
-
POSITION
Decoder for Position object. -
POSITIONS
Decoder for array of Position objects. -
LINE_STRING
Decoder for array of Position objects representing TFCat LineString. -
LINE_STRINGS
Decoder for an array of LineStrings. -
LINEAR_RING
Decoder for a LinearRing. -
LINEAR_RINGS
Decoder for array of LinearRings. -
POLYGON
Decoder for array of LinearRings representing a TFCat Polygon. -
POLYGONS
Decoder for an array of TFCat polygons. -
BBOX
Decoder for a Bbox object. -
DATATYPE
Decoder for a DataType object. -
FIELDS
Decoder for an array of Field objects. -
GEOMETRY
Decoder for a Geometry object. -
GEOMETRIES
Decoder for a GeometryCollection. -
TIME_COORDS
Decoder for a TimeCoords object. -
SPECTRAL_COORDS
Decoder for a SpectralCoords object. -
CRS
Decoder for a CRS object. -
FEATURE
Decoder for a Feature object. -
FEATURE_COLLECTION
Decoder for a FeatureCollection object. -
TFCAT
Decoder for a TFCat object.
-