@ngageoint/geopackage
Version:
GeoPackage JavaScript Library
53 lines (52 loc) • 1.65 kB
TypeScript
/**
* Stores minimal application schema identifying, descriptive and MIME type
* information about columns in user vector feature and tile matrix data tables
* that supplements the data available from the SQLite sqlite_master table and
* pragma table_info(table_name) SQL function. The gpkg_data_columns data CAN be
* used to provide more specific column data types and value ranges and
* application specific structural and semantic information to enable more
* informative user menu displays and more effective user decisions on the
* suitability of GeoPackage contents for specific purposes.
* @class DataColumns
*/
export declare class DataColumns {
/**
* the name of the tiles, or feature table
* @member {string}
*/
table_name: string;
/**
* the name of the table column
* @member {string}
*/
column_name: string;
/**
* A human-readable identifier (e.g. short name) for the column_name content
* @member {string}
*/
name?: string;
/**
* A human-readable formal title for the column_name content
* @member {string}
*/
title?: string;
/**
* A human-readable description for the table_name contents
* @member {string}
*/
description?: string;
/**
* MIME type of columnName if BLOB type or NULL for other types
* @member {string}
*/
mime_type?: string;
/**
* Case sensitive column value constraint name specified
*/
constraint_name?: string;
/**
*
* @param {object} [object] object containing properties to apply to this
*/
constructor(object?: DataColumns);
}