SE_TOO_FEW_POINTS error on SDE driver
|Reported by:||bartvde||Owned by:||warmerdam|
This happens in the case where the envelope has a minx=maxx and miny=maxy, and the SDE C API will throw an error when such an envelope is put into SE_shape_generate_rectangle.
The Mapserver SDE driver has a bit of code to overcome this particular case, I'll attach a patch which does a similar thing.
The error code is: -148/ The number of points is less than required for feature