FeatureCollectionTable constructor

FeatureCollectionTable({
  1. required List<Field> fields,
  2. required GeometryType geometryType,
  3. SpatialReference? spatialReference,
  4. bool hasZ = false,
  5. bool hasM = false,
})

Creates an empty FeatureCollectionTable from the specified fields, geometry type, spatial reference. The table can contain z and m values.

Parameters:

  • fields — A List of type Field. Contents of the List will be copied. Can be null.
  • geometryType — The type of geometry that will be held in this table. Can be GeometryType.unknown.
  • spatialReference — The spatial reference of the features that will be held in this table. Can be null as long as geometry_type is GeometryType.unknown.
  • hasZ — Boolean specifying whether the table supports geometries with Z values.
  • hasM — Boolean specifying whether the table supports geometries with M values.