@ciag/sentinel-hub-wms
Version:
a API to create the sentinel ogs requests, and tools to apply on the data
11 lines (10 loc) • 484 B
TypeScript
import { LagLngXY } from "./LagLngXY";
import { Polygon, Feature } from "geojson";
export declare namespace Cropper {
function getLagLngXY(geoJson: GeoJSON.FeatureCollection<Polygon>): LagLngXY[];
function cropImage(feature: Feature<Polygon>, img: string, latLongXY: LagLngXY): Promise<{
img: string;
LatLng: [number[], number[]];
}>;
function getCrop(canvas: any, offsetX: any, offsetY: any, width: any, height: any, callback: any): void;
}