GeoPackage properties core extension for defining GeoPackage specific properties, attributes, and metadata

Hierarchy

Constructors

Properties

Connection to the GeoPackage

extensionDefinition: string

Definition for the extension

extensionName: string

Name of the extension

extensionsDao: ExtensionsDao

ExtensionDao

geoPackage: GeoPackage

GeoPackage

tableName: string

extension table name

COLUMN_PROPERTY: string = 'property'

Property column

COLUMN_VALUE: string = 'value'

Value column

EXTENSION_AUTHOR: string = NGAExtensionsConstants.EXTENSION_AUTHOR

Extension author

EXTENSION_DEFINITION: string = 'http://ngageoint.github.io/GeoPackage/docs/extensions/properties.html'

Extension definition URL

EXTENSION_NAME: string = ...

Extension, with author and name

EXTENSION_NAME_NO_AUTHOR: string = 'properties'

Extension name without the author

TABLE_NAME: string = PropertiesExtension.EXTENSION_NAME

Table name

Methods

  • Add a property value, creating the extension if needed

    Returns

    true if added, false if already existed

    Parameters

    • property: string

      property name

    • value: string

      value

    Returns boolean

  • Create the extension

    Parameters

    • extensionName: string
    • tableName: string
    • columnName: string
    • definition: string
    • scopeType: string

    Returns number

  • Get the extension for the name, table name and column name

    Returns

    Parameters

    • extensionName: string

      extension name

    • Optional tableName: string

      table name

    • Optional columnName: string

      column name

    Returns Extensions

  • Determine if the GeoPackage has the extension

    Returns

    if the extension exists

    Parameters

    • extensionName: string

      extension name

    • tableName: string

      table name

    • columnName: string

      column name

    Returns boolean

  • Check if the property has the value

    Returns

    true if property has the value

    Parameters

    • property: string

      property name

    • value: string

      property value

    Returns boolean

Generated using TypeDoc