Files
konova/api/tests/v1/update/ema_update_put_body.json
T
mpeltriaux 8ac8952729 # Refactors API geometry processing
* refactors API geometry processing to use GeoJsonValidator and GeometryProcessor just like SimpleGeomForm
* moves cast_to_multipolygon, cast_to_rlp_srid, flatten_geom_to_2D, is_valid_4326 and is_area_valid into GeometryProcessor
* adds changeable SRID to GeoJsonValidator constructor
* updates test data
* updates test cases
2026-09-12 17:58:00 +02:00

50 lines
1.2 KiB
JSON

{
"type": "Polygon",
"coordinates": [
[
[
7.489245186249832,
50.29519575559556
],
[
7.5244137991026605,
50.29519575559556
],
[
7.5244137991026605,
50.275124048323875
],
[
7.489245186249832,
50.275124048323875
],
[
7.489245186249832,
50.29519575559556
]
]
],
"properties": {
"title": "TEST_EMA_CHANGED",
"external_identifier": "LOREMIPSUM-1235_CHANGED",
"responsible": {
"conservation_office": null,
"conservation_file_number": "TEST_CHANGED",
"handler": {
"type": null,
"detail": "TEST_HANDLER_CHANGED"
}
},
"is_pik": true,
"before_states": [],
"after_states": [],
"actions": [],
"deadlines": [
{
"type": "finished",
"date": "2022-01-31",
"comment": "TEST_CHANGED"
}
]
}
}