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 class
Geometry subclass representing a TFCat GeometryCollection.static class
Geometry subclass representing a TFCat LineString.static class
Geometry subclass representing a TFCat MultiLineString.static class
Geometry subclass representing a TFCat MultiPoint.static class
Geometry subclass representing a TFCat MultiPolygon.static class
Geometry subclass representing a TFCat Point.static class
Geometry 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:TfcatObject
Removes 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:
purgeJson
in classTfcatObject
-