Opened 14 years ago
Closed 5 years ago
#3666 closed defect (wontfix)
SE_TOO_FEW_POINTS error on SDE driver
Reported by: | bartvde | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | OGR_SF | Version: | 1.7.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
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
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | ticket3666.patch added |
---|
comment:1 by , 9 years ago
comment:3 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
If BBOX created from a single point makes troubles and if this patch prevents them, wouldn't it be good to apply this little patch? It looks rather safe to me.