Opened 12 years ago

Closed 3 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:


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)

ticket3666.patch (854 bytes ) - added by bartvde 12 years ago.

Download all attachments as: .zip

Change History (4)

by bartvde, 12 years ago

Attachment: ticket3666.patch added

comment:1 by Jukka Rahkonen, 7 years ago

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.

comment:2 by Even Rouault, 7 years ago

Milestone: 1.8.1

Removing obsolete milestone

comment:3 by Even Rouault, 3 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

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 if it is not already reported there.

Note: See TracTickets for help on using tickets.