8ac8952729
* 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
21 lines
443 B
JSON
21 lines
443 B
JSON
{
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
],
|
|
"properties": {
|
|
"title": "Test_compensation",
|
|
"is_cef": false,
|
|
"is_coherence_keeping": false,
|
|
"is_pik": false,
|
|
"intervention": "MUST_BE_SET_IN_TEST",
|
|
"external_identifier": "LOREMIPSUM-123",
|
|
"before_states": [
|
|
],
|
|
"after_states": [
|
|
],
|
|
"actions": [
|
|
],
|
|
"deadlines": [
|
|
]
|
|
}
|
|
} |