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
47 lines
1.2 KiB
JSON
47 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_intervention_CHANGED",
|
|
"external_identifier": "LOREMIPSUM-1236_CHANGED",
|
|
"responsible": {
|
|
"registration_office": null,
|
|
"registration_file_number": "CHANGED",
|
|
"conservation_office": null,
|
|
"conservation_file_number": "CHANGED",
|
|
"handler": {
|
|
"type": null,
|
|
"detail": "TEST_HANDLER_CHANGED"
|
|
}
|
|
},
|
|
"legal": {
|
|
"registration_date": "2022-02-01",
|
|
"binding_date": "2022-02-01",
|
|
"process_type": null,
|
|
"laws": []
|
|
}
|
|
}
|
|
} |