@ciag/sentinel-hub-wms
Version:
a API to create the sentinel ogs requests, and tools to apply on the data
28 lines (27 loc) • 729 B
TypeScript
import { Feature, Polygon } from "geojson";
import { WMSParameters } from "./WMSParameters";
export interface latLong {
lat: string;
long: string;
}
export interface GeoJsonFeatureGeomety {
"type": string;
"coordinates": number[][][] | any;
}
export declare type AceptedFeatures = Feature<Polygon>;
export interface BoxCordsSimple {
topLeft: number[];
bottonRight: number[];
}
export declare type ICroppedImage = {
img: string;
feature: Feature<Polygon>;
bbox: [number[], number[]];
link: string;
};
export declare type getFromSentinelOptions = {
proxy?: RequestInfo;
proxyOption?: RequestInit;
date: Date;
layers: WMSParameters.Sentinel_2[];
};