Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 911 Bytes

featuredefn.md

File metadata and controls

32 lines (23 loc) · 911 Bytes

FeatureDefn

Note: all feature definitions owned by layers are cloned to avoid segfaults when layers are destroyed and to avoid modifying read-only feature definitions.

Constructor

  • FeatureDefn()

Methods

Properties

  • name : string
  • geomType : int (OGRwkbGeometryType)
  • geomIgnored : bool
  • styleIgnored : bool
  • fields : FeatureDefnFields

Fields

  • fields.count() : int
  • fields.add(FieldDefn def, bool approx = true) : void
  • fields.remove(int i) : void (throws)
  • fields.remove(string field_name) : void (throws)
  • fields.get(int i) : FieldDefn (throws)
  • fields.get(string field_name) : FieldDefn (throws)
  • fields.getNames() : string[]
  • fields.indexOf(string field_name) : int
  • fields.reorder(int[] map) : void (throws)