UNPKG

@ciag/sentinel-hub-wms

Version:

a API to create the sentinel ogs requests, and tools to apply on the data

54 lines (53 loc) 3.06 kB
import { Polygon, FeatureCollection, Feature } from 'geojson'; import { GetFeaturesRequestOptions } from './GetFeaturesRequestOptions'; import { Observable } from 'rxjs'; export declare namespace SentinelHubWfs { /** * @description Used to create a Fetch based on the BBOX of the provided polygon(s) * * it can be created with a proxy URL * @param {GetFeaturesRequestOptions} options for each option effect and more details: https://www.sentinel-hub.com/develop/api/ogc/standard-parameters/wfs/ */ function GetFeature(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string): Promise<Response>; function GetFeature(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string, options: GetFeaturesRequestOptions): Promise<Response>; function GetFeature(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string, options: GetFeaturesRequestOptions, proxy: RequestInfo, requestOption?: RequestInit): Promise<Response>; /** * @description Used to create a Fetch based on the BBOX of the provided polygon(s) * `RxJs Version` * * it can be created with a proxy URL * @param {GetFeaturesRequestOptions} options for each option effect and more details: https://www.sentinel-hub.com/develop/api/ogc/standard-parameters/wfs/ */ function GetFeatureAsync(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string): Observable<Response>; function GetFeatureAsync(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string, options: GetFeaturesRequestOptions): Observable<Response>; function GetFeatureAsync(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string, options: GetFeaturesRequestOptions, proxy: RequestInfo, requestOption?: RequestInit): Observable<Response>; /** * @description Used to fetch avaliable dates for sattelite data * * it can be created with a proxy URL * @param {GetFeaturesRequestOptions} options for each option effect and more details: https://www.sentinel-hub.com/develop/api/ogc/standard-parameters/wfs/ */ function getAvaliableDates(polygonList: FeatureCollection<Polygon> | Feature<Polygon>, uuid: string, options: { from: Date; to: Date; proxy?: RequestInfo; requestOption?: RequestInit; }): Promise<Date[]>; /** * @description Used to fetch avaliable dates for sattelite data * `RxJs Version` * * it can be created with a proxy URL * @param {GetFeaturesRequestOptions} options for each option effect and more details: https://www.sentinel-hub.com/develop/api/ogc/standard-parameters/wfs/ */ const getAvaliableDatesAsync: (polygonList: FeatureCollection<Polygon, { [name: string]: any; }> | Feature<Polygon, { [name: string]: any; }>, uuid: string, options: { from: Date; to: Date; proxy?: RequestInfo; requestOption?: RequestInit; }) => Observable<Date[]>; }