Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `flatten_dimensions`
- `load_geojson`
- `load_url`
- `raster_to_vector`
- `unflatten_dimension`
- `vector_buffer`
- `vector_reproject`
Expand Down
65 changes: 65 additions & 0 deletions proposals/raster_to_vector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"id": "raster_to_vector",
"summary": "Converts single band raster data cube to vector data",
"description": "Converts a single band raster data cube into a vector data cube. The process involves constructing the bounding polygon based on the full area covered by pixel boundaries, providing a representation of homogeneous areas within the raster dataset.",
"categories": [
"cubes"
],
"experimental": true,
"parameters": [
{
"name": "data",
"description": "A raster data cube.",
"schema": {
"type": "object",
"subtype": "datacube",
"dimensions": [
{
"type": "spatial",
"axis": [
"x",
"y"
]
}
]
}
},
{
"name": "projection",
"description": "Coordinate reference system to reproject the converted vector to. Specified as an [EPSG code](http://www.epsg-registry.org/) or [WKT2 CRS string](http://docs.opengeospatial.org/is/18-010r7/18-010r7.html).\nWhen no projection (or null) is given, the reference system of the input raster data cube is used.",
"schema": [
{
"title": "EPSG Code",
"type": "integer",
"subtype": "epsg-code",
"minimum": 1000,
"examples": [
3857
]
},
{
"title": "WKT2",
"type": "string",
"subtype": "wkt2-definition"
},
{
"type": "null"
}
],
"optional": true,
"default": null
}
],
"returns": {
"description": "A converted vector data cube.",
"schema": {
"type": "object",
"subtype": "datacube",
"dimensions": [
{
"type": "geometry"
}
]
}
}
}