#6844 closed defect (fixed)
gdal_rasterize crashes on empty polygon coming from JSon geometries
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.4 |
Component: | Algorithms | Version: | unspecified |
Severity: | normal | Keywords: | rasterize |
Cc: |
Description
A crash occurs in GDALdllImageFilledPolygon () on a polygon with an empty ring, such as the one produced by:
{ "type": "FeatureCollection", "name": "cutline", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ ] ] } } ] }
Note:
See TracTickets
for help on using tickets.
In 37849: