Add map area selection extraction
This commit is contained in:
@@ -274,6 +274,27 @@ export interface VectorStatsResponse {
|
||||
crs?: string | null
|
||||
}
|
||||
|
||||
export interface VectorSelectionBBox {
|
||||
min_x: number
|
||||
min_y: number
|
||||
max_x: number
|
||||
max_y: number
|
||||
crs?: 'EPSG:4326'
|
||||
}
|
||||
|
||||
export interface VectorSelectionRequest {
|
||||
bbox: VectorSelectionBBox
|
||||
limit?: number
|
||||
}
|
||||
|
||||
export interface VectorSelectionResponse {
|
||||
selection_bbox: VectorSelectionBBox
|
||||
feature_count: number
|
||||
limit: number
|
||||
truncated: boolean
|
||||
geojson: GeoJSON.FeatureCollection
|
||||
}
|
||||
|
||||
export interface DatasetListResponse {
|
||||
items: DatasetCreateResponse[]
|
||||
total: number
|
||||
|
||||
Reference in New Issue
Block a user