Opened 7 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 http://www.gisinternals.com/sdk.

Attachments (1)

double_point_ticket.py (2.2 KB) - added by Chau 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Chau

Attachment: double_point_ticket.py added

comment:1 Changed 7 years ago by Chau

Description: modified (diff)

comment:2 Changed 7 years ago by Kyle Shannon

Cc: Kyle Shannon added

comment:3 Changed 7 years ago by Even Rouault

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.