fix: Change geojson properties structure
This commit is contained in:
@@ -81,7 +81,7 @@ the KATO column and the year columns:
|
||||
`?kato_code=`).
|
||||
|
||||
```sh
|
||||
curl -X POST localhost:8080/datasets/<id>/mapping -H 'Content-Type: application/json' -d '{
|
||||
curl -X POST https://dssgis.dwh.kz/datasets/<id>/mapping -H 'Content-Type: application/json' -d '{
|
||||
"kato_column": "като",
|
||||
"year_columns": [
|
||||
{"column": "F_2023", "date": "2023-01-01"},
|
||||
@@ -131,7 +131,7 @@ server runs it is served at `/openapi.yaml`, with an interactive **Redoc** UI at
|
||||
Example upload:
|
||||
|
||||
```sh
|
||||
curl -X POST localhost:8080/datasets \
|
||||
curl -X POST https://dssgis.dwh.kz/datasets \
|
||||
-F file=@sample.geojson -F file_type=vector -F category_id=<uuid> \
|
||||
-F code=POP_2026 -F name=Population -F description="Resident population" -F unit=people
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user