Opened 18 months ago

Closed 18 months ago

Last modified 18 months 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 18 months ago.
gdal_polygonize_force_geom_type.patch (2.2 KB) - added by jamesnunn 18 months ago.

Download all attachments as: .zip

Change History (10)

Changed 18 months ago by jamesnunn

comment:1 Changed 18 months ago by jamesnunn

Will update with svn patch asap

Changed 18 months ago by jamesnunn

comment:2 Changed 18 months ago by Even Rouault

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 Changed 18 months ago by Even Rouault

In 34304:

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

comment:4 Changed 18 months ago by Even Rouault

In 34305:

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

comment:5 Changed 18 months ago by Even Rouault

Component: defaultUtilities
Milestone: 2.0.3

comment:6 Changed 18 months ago by Even Rouault

In 34306:

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

comment:7 Changed 18 months ago by Even Rouault

In 34307:

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

comment:8 Changed 18 months ago by Even Rouault

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.