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
25 lines
642 B
JSON
25 lines
642 B
JSON
{
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
],
|
|
"properties": {
|
|
"title": "Test_intervention",
|
|
"external_identifier": "LOREMIPSUM-1236",
|
|
"responsible": {
|
|
"registration_office": null,
|
|
"registration_file_number": null,
|
|
"conservation_office": null,
|
|
"conservation_file_number": null,
|
|
"handler": {
|
|
"type": null,
|
|
"detail": "Someone"
|
|
}
|
|
},
|
|
"legal": {
|
|
"registration_date": null,
|
|
"binding_date": null,
|
|
"process_type": null,
|
|
"laws": []
|
|
}
|
|
}
|
|
} |