UNPKG

@ngageoint/geopackage

Version:
58 lines (57 loc) 1.87 kB
import { SpatialReferenceSystem } from '../../core/srs/spatialReferenceSystem'; import { Contents } from '../../core/contents/contents'; /** * Spatial Reference System object. The coordinate reference system definitions it contains are referenced by the GeoPackage Contents and GeometryColumns objects to relate the vector and tile data in user tables to locations on the earth. * @class GeometryColumns */ export declare class GeometryColumns { static readonly TABLE_NAME: string; static readonly COLUMN_NAME: string; static readonly GEOMETRY_TYPE_NAME: string; static readonly SRS_ID: string; static readonly Z: string; static readonly M: string; /** * Name of the table containing the geometry column * @member {string} */ table_name: string; /** * Name of a column in the feature table that is a Geometry Column * @member {string} */ column_name: string; /** * Name from Geometry Type Codes (Core) or Geometry Type Codes (Extension) * in Geometry Types (Normative) * @member {string} */ geometry_type_name: string; /** * Spatial Reference System ID: gpkg_spatial_ref_sys.srs_id * @member {module:dao/spatialReferenceSystem~SpatialReferenceSystem} */ srs: SpatialReferenceSystem; /** * Unique identifier for each Spatial Reference System within a GeoPackage * @member {Number} */ srs_id: number; /** * 0: z values prohibited; 1: z values mandatory; 2: z values optional * @member {byte} */ z: number; /** * 0: m values prohibited; 1: m values mandatory; 2: m values optional * @member {byte} */ m: number; get geometryType(): string; get id(): string; /** * Set the contents * @param contents contents */ setContents(contents: Contents): void; }