UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

44 lines (43 loc) 1.05 kB
import { GeometryType } from 'ol/render/webgl/MixedGeometryBatch'; export default class ServerOgcApi { name: string; url: string; type: string; constructor(name: string, url: string, type: string); } export type OgcApiLinksResponse = { href: string; rel: string; type?: string; title?: string; hreflang?: string; length?: number; }; export type OgcApiQueryablesResponse = { $id?: string; $schema?: string; title?: string; description?: string; type?: string; properties: Record<string, { 'title'?: string; 'description'?: string; 'type'?: string; 'format'?: string; 'x-ogc-role'?: string; 'minimum'?: number; 'maximum'?: number; 'enum'?: Array<string | number>; }>; }; export type LayerOapif = { url: string; collectionId: string; crs: string; credentials?: string; geometryType: GeometryType; attributeName: string; attributeType: string; serverType: string; server: ServerOgcApi; };