Represents a record of data from a Shapefile (.shp and .dbf).

Constructors

Accessors

  • get bounds(): IgRect
  • Gets the bounds for the shapes

    Returns IgRect

  • set bounds(v): void
  • Parameters

    Returns void

  • get fieldValues(): any
  • Returns any

  • set fieldValues(v): void
  • Parameters

    • v: any

    Returns void

  • get fieldsNames(): string[]
  • Gets an array of field names and values for this record

    Returns string[]

  • get fieldsTypes(): string[]
  • Gets an arry of field types and values for this record

    Returns string[]

  • get i(): ShapefileRecord
  • Returns ShapefileRecord

  • get points(): Point[][]
  • Gets an array of arrays of points for this record

    Returns Point[][]

  • get shapeType(): ShapeType
  • Gets the shape type, as read from the header of the Shapefile.

    Returns ShapeType

Methods

  • Parameters

    • name: string

    Returns any

  • Parameters

    • fieldName: string

    Returns any

  • Parameters

    • fieldName: string
    • value: any

    Returns void