Definition of a feature that includes properties originally defined in the GeoJSON file.
type Feature = {
type: string,
id: string | null,
properties: Object,
boundingBox: Box3 | null,
foreign: Object,
geometries: Array<(Points|LineString|Polygon)>,
points: Array<Points>,
lines: Array<LineString>,
polygons: Array<Polygon>
}Properties
type: string
Always "Feature".
id: string | null
The feature id, or null if not present.
properties: Object
The properties defined on the feature.
boundingBox: Box3 | null
The "bbox" field parsed into a Box3, or null if not present.
foreign: Object
Any non-schema fields found on the original GeoJSON object.
geometries: Array<(Points|LineString|Polygon)>
The list of all geometries in the feature.
The point geometries in the feature.
lines: Array<LineString>
The line geometries in the feature.
The polygon geometries in the feature.