Contents object. Provides identifying and descriptive information that an application can display to a user in a menu of geospatial data that is available for access and/or update.

Hierarchy

  • Contents

Constructors

Properties

COLUMN_DATA_TYPE: string = 'data_type'

data_type field name

COLUMN_DESCRIPTION: string = 'description'

description field name

COLUMN_ID: string = Contents.COLUMN_TABLE_NAME

id field name, table_name

COLUMN_IDENTIFIER: string = 'identifier'

identifier field name

COLUMN_LAST_CHANGE: string = 'last_change'

last_change field name

COLUMN_MAX_X: string = 'max_x'

max_x field name

COLUMN_MAX_Y: string = 'max_y'

max_y field name

COLUMN_MIN_X: string = 'min_x'

min_x field name

COLUMN_MIN_Y: string = 'min_y'

min_y field name

COLUMN_SRS_ID: string = SpatialReferenceSystemConstants.COLUMN_SRS_ID

srsId field name

COLUMN_TABLE_NAME: string = 'table_name'

table_name field name

TABLE_NAME: string = 'gpkg_contents'

Table name

Methods

  • Determine if the contents data type is attributes

    Returns

    true if attributes type

    Returns boolean

  • Determine if the contents data type is attributes or unknown

    Returns

    true if attributes type or unknown

    Returns boolean

  • Determine if the contents data type is features

    Returns

    true if features type

    Returns boolean

  • Determine if the contents data type is features or unknown

    Returns

    true if features type or unknown

    Returns boolean

  • Determine if the contents data type is tiles

    Returns

    true if tiles type

    Returns boolean

  • Determine if the contents data type is tiles or unknown

    Returns

    true if tiles type or unknown

    Returns boolean

  • Set the data type name and register the core data type (if not provided, nothing is registered)

    Parameters

    • name: string

      data type name

    • data_type: ContentsDataType = undefined

      core data type

    Returns void

  • Set the description

    Parameters

    • description: string

      description

    Returns void

  • Set the identifier

    Parameters

    • identifier: string

      identifier

    Returns void

  • Set the last change

    Parameters

    • last_change: Date

      last change

    Returns void

  • Set the table name

    Parameters

    • table_name: string

      table name

    Returns void

Generated using TypeDoc