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 booleanIf 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
-
POSITIONS
-
LINE_STRING
-
LINE_STRINGS
-
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
-
DATATYPE
-
FIELDS
-
GEOMETRY
-
GEOMETRIES
-
TIME_COORDS
Decoder for a TimeCoords object. -
SPECTRAL_COORDS
Decoder for a SpectralCoords object. -
CRS
-
FEATURE
-
FEATURE_COLLECTION
Decoder for a FeatureCollection object. -
TFCAT
Decoder for a TFCat object.
-