Opened 8 years ago

Closed 7 years ago

#5641 closed defect (fixed)

RasterizeLayer terminates script in Python 3.2

Reported by: Chau Owned by: warmerdam
Priority: normal Milestone: 1.11.3
Component: Algorithms Version: 1.11.0
Severity: critical Keywords: rasterize
Cc: Kyle Shannon

Description (last modified by Chau)

I have a fairly simple geometry and when performing a RasterizeLayer on it, Python terminates my script without any error or notice.

The attached script should illustrate this.

In the lower right of the polygon two vertices are very close together. If I remove the left most of the two (the second vertex), the rasterizing process succeed.

This happens for me in both GDAL 1.10.1 and 1.11 (x64) with Python 3.2.

GDAL builds are from

Attachments (1) (2.2 KB ) - added by Chau 8 years ago.

Download all attachments as: .zip

Change History (4)

by Chau, 8 years ago

Attachment: added

comment:1 by Chau, 8 years ago

Description: modified (diff)

comment:2 by Kyle Shannon, 8 years ago

Cc: Kyle Shannon added

comment:3 by Even Rouault, 7 years ago

Component: defaultAlgorithms
Keywords: rasterize added
Milestone: 1.11.3
Resolution: fixed
Status: newclosed

trunk r29117, branches/1.11 r29118 "Rasterize: add check to avoid burning negative x values (#5641)"

Note: See TracTickets for help on using tickets.