We face a bug trying to convert geojson from OData. Points and linestings are ok but polygons rise an error :
PostGIS function ST_GeomFromGeoJSON()
ERROR: ERREUR: The 'coordinates' in GeoJSON are not sufficiently nested
And online viewers or validators like (https://geojsonlint.com) rise an error close to this one :
`Line 1: a number was found where a coordinate array should have been found: this needs to be nested more deeply
Embedding the coordinates array into one more pair of brackets seems to solve the problem.
Here is a submission with two invalid polygons pulled from Central :
2021-04-22.json (1.8 KB)