Shapefile Record
One parsed shapefile record. Records of all shape types are represented by this single class; the shapeType field discriminates. Geometry is exposed as a list of "parts", each part an interleaved [x0, y0, x1, y1, …] DoubleArray matching the on-disk coordinate order (longitude, latitude for geographic shapefiles).
Properties
Attributes from the sidecar DBF, keyed by column name. Empty when no DBF is provided or when the row was deleted in the source.
[minY, maxY, minX, maxX], or null for Null records.
[mMin, mMax] when the file carries measures and they were present.
One M value per point when present.
Per-part geometry. Empty for ShapefileShapeType.NULL records.
Per-part type codes for MultiPatch records. null for every other shape type.
One-based ordinal position in the .shp file.
Shape type as declared by the file header.
[zMin, zMax] when ShapefileShapeType.isZ; otherwise null.
One Z value per point when ShapefileShapeType.isZ; otherwise null.
Functions
Returns the points of the requested part as an interleaved [x0, y0, x1, y1, …] DoubleArray, or null if partNumber is out of range.