# 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
This commit is contained in:
2026-09-12 17:58:00 +02:00
parent a067aafde1
commit 8ac8952729
13 changed files with 224 additions and 275 deletions
@@ -1,5 +1,5 @@
{
"type": "MultiPolygon",
"type": "Polygon",
"coordinates": [
],
"properties": {