Opened 11 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:
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)

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

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by bartvde

Attachment: ticket3666.patch added

comment:1 Changed 7 years ago by Jukka Rahkonen

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 Changed 6 years ago by Even Rouault

Milestone: 1.8.1

Removing obsolete milestone

comment:3 Changed 3 years ago by Even Rouault

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 https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.