How to Create a Dataset
Steps to reproduce
- Log In to our platform (see Login).
- Create a New Project or use one created before.
- Get the
id_project
andid_phase
returned by the previous step to use it later. - Configure your dataset info in the Insert Dataset endpoint.
Request example
Endpoint
POST /api/v1/dataset/create_dataset
Body
{
"id_project": 1,
"id_phase": 1,
"name_asset": "Parcels",
"name_attribute": "Altitude",
"input_alg_parameters": {
"mask": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[
-3.9376455720326646,
40.90015125369763
],
[
-3.9376455720326646,
40.88889826847819
],
[
-3.9210280227697467,
40.88889826847819
],
[
-3.9210280227697467,
40.90015125369763
],
[
-3.9376455720326646,
40.90015125369763
]
]
],
"type": "Polygon"
}
}
]
},
},
}
Successful Response
{
"message": {
"id_dataset": 1
},
"code": 200
}