Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6530 closed defect (fixed)

gdal_polygonize doesn't explicitly create a polygon layer

Reported by: jamesnunn Owned by: warmerdam
Priority: normal Milestone: 2.0.3
Component: Utilities Version: unspecified
Severity: normal Keywords:
Cc:

Description

Using gdal 2.2, I found that running gdal_polygonize to create a Geopackage output vector resulted in the layers having an Unknown (any) geometry type.

The diff attached fixes this issue.

Attachments (2)

gdal_polygonize_force_geom_type.diff (2.2 KB ) - added by jamesnunn 8 years ago.
gdal_polygonize_force_geom_type.patch (2.2 KB ) - added by jamesnunn 8 years ago.

Download all attachments as: .zip

Change History (10)

by jamesnunn, 8 years ago

comment:1 by jamesnunn, 8 years ago

Will update with svn patch asap

by jamesnunn, 8 years ago

comment:2 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 34303:

gdal_polygonize.py: explicitly set output layer geometry type to be polygon (patch by jamesnunn, closes #6530)

comment:3 by Even Rouault, 8 years ago

In 34304:

gdal_polygonize.py: explicitly set output layer geometry type to be polygon (patch by jamesnunn, closes #6530)

comment:4 by Even Rouault, 8 years ago

In 34305:

gdal_polygonize.py: explicitly set output layer geometry type to be polygon (patch by jamesnunn, closes #6530)

comment:5 by Even Rouault, 8 years ago

Component: defaultUtilities
Milestone: 2.0.3

comment:6 by Even Rouault, 8 years ago

In 34306:

test_gdal_polygonize.py: avoid failure on _3 test if GPKG not available (closes #6530)

comment:7 by Even Rouault, 8 years ago

In 34307:

test_gdal_polygonize.py: avoid failure on _3 test if GPKG not available (closes #6530)

comment:8 by Even Rouault, 8 years ago

In 34308:

test_gdal_polygonize.py: avoid failure on _3 test if GPKG not available (closes #6530)

Note: See TracTickets for help on using tickets.