MDEV-11881 Empty coordinates must be rejected in GeoJSON objects.

Check for the empty 'coordinates' array.
This commit is contained in:
Alexey Botchkov 2017-11-14 13:36:50 +04:00
commit 24184938ad
6 changed files with 60 additions and 1 deletions

View file

@ -256,6 +256,7 @@ public:
GEOJ_TOO_FEW_POINTS= 2,
GEOJ_POLYGON_NOT_CLOSED= 3,
GEOJ_DIMENSION_NOT_SUPPORTED= 4,
GEOJ_EMPTY_COORDINATES= 5,
};