Record Class Feature
java.lang.Object
java.lang.Record
com.eco.bio7.gdal.Feature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.final booleanIndicates whether some other object is "equal to" this one.longfid()Returns the value of thefidrecord component.geoJson()The geometry as GeoJSON (2D), null without geometry.geometry()The geometry with its coordinates (parsed WKT), null without geometry.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.wkt()Returns the value of thewktrecord component.
-
Constructor Details
-
Feature
-
-
Method Details
-
geometry
The geometry with its coordinates (parsed WKT), null without geometry. -
geoJson
The geometry as GeoJSON (2D), null without geometry. Created when called (not for every feature read). -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
fid
public long fid()Returns the value of thefidrecord component.- Returns:
- the value of the
fidrecord component
-
attributes
-
wkt
Returns the value of thewktrecord component.- Returns:
- the value of the
wktrecord component
-