@dlr-eoc/services-ogc
Version:
This module bundles our clients for OGC standards. E.g. parse OWS Context JSON, WMS, WMTS or WPS.
46 lines (45 loc) • 3.37 kB
TypeScript
/** This file contains functions (Type Guards) to test for types in owc-json.ts */
import { Xyz_Offering, GeoJson_Offering, TMS_Offering } from './eoc-owc-json';
import { CSW_Offering, GeoTIFF_Offering, GMLCOV_Offering, GMLJP2_Offering, GML_Offering, IOwsAuthor, IOwsCategory, IOwsContent, IOwsContext, IOwsGenerator, IOwsCreatorDisplay, IOwsLinks, IOwsOffering, IOwsOperation, IOwsResource, IOwsResourceProperties, IOwsStyleSet, KML_Offering, WCS_Offering, WFS_Offering, WMS_Offering, WMTS_Offering } from './owc-json';
/**
* export types to create layers from Offerings
*/
export declare const GetMapOperationCode: "GetMap";
export type WMS_Code = typeof GetMapOperationCode;
export declare const GetFeatureOperationCode: "GetFeature";
export type WFS_Code = typeof GetFeatureOperationCode;
export declare const GetTileOperationCode: "GetTile";
export type WMTS_Code = typeof GetTileOperationCode;
export declare const RESTOperationCode: "REST";
export type TMS_Code = typeof RESTOperationCode;
export type XYZ_Code = typeof RESTOperationCode;
export declare const GetCapabilitiesOperationCode: "GetCapabilities";
export declare const DescribeFeatureTypeOperationCode: "DescribeFeatureType";
export declare const GetFeatureInfoOperationCode: "GetFeatureInfo";
export declare function isIOwsContext(object: IOwsContext): object is IOwsContext;
export declare function isIOwsResource(object: any): object is IOwsResource;
export declare function isIOwsResourceProperties(object: any): object is IOwsResourceProperties;
export declare function isIOwsOffering(object: any): object is IOwsOffering;
export declare function isIOwsGenerator(object: any): object is IOwsGenerator;
export declare function isIOwsAuthor(object: any): object is IOwsAuthor;
export declare function isIOwsCategory(object: any): object is IOwsCategory;
export declare function isIOwsLinks(object: any): object is IOwsLinks;
export declare function isIOwsCreatorDisplay(object: any): object is IOwsCreatorDisplay;
export declare function isIOwsOperation(object: any): object is IOwsOperation;
export declare function isIOwsRasterOperation(object: any): object is IOwsOperation;
export declare function isIOwsVectorOperation(object: any): object is IOwsOperation;
export declare function isIOwsContent(object: any): object is IOwsContent;
export declare function isIOwsStyleSet(object: any): object is IOwsStyleSet;
export declare function isWmsOffering(str: string): str is WMS_Offering;
export declare function isWfsOffering(str: string): str is WFS_Offering;
export declare function isWpsOffering(str: string): str is WCS_Offering;
export declare function isCswOffering(str: string): str is CSW_Offering;
export declare function isWmtsOffering(str: string): str is WMTS_Offering;
export declare function isGmlOffering(str: string): str is GML_Offering;
export declare function isKmlOffering(str: string): str is KML_Offering;
export declare function isGeoTIFFOffering(str: string): str is GeoTIFF_Offering;
export declare function isGMLJP2Offering(str: string): str is GMLJP2_Offering;
export declare function isGMLCOVOffering(str: string): str is GMLCOV_Offering;
export declare function isXyzOffering(str: string): str is Xyz_Offering;
export declare function isGeoJsonOffering(str: string): str is GeoJson_Offering;
export declare function isTMSOffering(str: string): str is TMS_Offering;