Package uk.ac.starlink.tfcat
Class Geometry<S>
java.lang.Object
uk.ac.starlink.tfcat.TfcatObject
uk.ac.starlink.tfcat.Geometry<S>
- Direct Known Subclasses:
Geometry.GeometryCollection,Geometry.LineString,Geometry.MultiLineString,Geometry.MultiPoint,Geometry.MultiPolygon,Geometry.Point,Geometry.Polygon
Abstract superclass representing one of the seven typed Geometry
objects defined in the TFCat specification.
Instances will be one of the seven typed internal subclasses.
- Since:
- 9 Feb 2022
- Author:
- Mark Taylor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGeometry subclass representing a TFCat GeometryCollection.static classGeometry subclass representing a TFCat LineString.static classGeometry subclass representing a TFCat MultiLineString.static classGeometry subclass representing a TFCat MultiPoint.static classGeometry subclass representing a TFCat MultiPolygon.static classGeometry subclass representing a TFCat Point.static classGeometry subclass representing a TFCat Polygon. -
Method Summary
-
Method Details
-
getShape
Returns the coordinate information giving the content of this geometry.- Returns:
- shape
-
purgeJson
public void purgeJson()Description copied from class:TfcatObjectRemoves any reference to the original parsed JSON from this object. This may be useful for purposes of efficiency following a parse if the TFCat objects are to be long-lived.- Overrides:
purgeJsonin classTfcatObject
-