Opened 10 years ago

Closed 10 years ago

#2747 closed defect (fixed)

[PATCH] Fix failure of rt_raster_gdal_polygonize() with GDAL 2.0

Reported by: rouault Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.4
Component: raster Version: 2.1.x
Keywords: history Cc:


With GDAL 2.0 RFC46, both raster & vector drivers are returned by the GDAL register manager. The recent security fix deregisters by default all drivers except the one of the white list, resulting into the OGR Memory drivers to be deregistered. This driver is a requirement of rt_raster_gdal_polygonize()

Hence the attached patch that makes rt_raster_gdal_drivers() return raster only drivers.

(Note: only compile tested. I've issues to make the postgis regression test suite run)

Attachments (1)

ticket_2747.patch (639 bytes ) - added by rouault 10 years ago.

Download all attachments as: .zip

Change History (4)

by rouault, 10 years ago

Attachment: ticket_2747.patch added

comment:1 by rouault, 10 years ago

Component: postgisraster
Owner: changed from pramsey to Bborie Park

comment:2 by robe, 10 years ago

Milestone: PostGIS 2.1.4

comment:3 by Bborie Park, 10 years ago

Keywords: history added
Resolution: fixed
Status: newclosed

Fixed for 2.1 in r12582. Fixed for trunk in r12584. We'll have additional changes as GDAL 2.0 settles down.

Note: See TracTickets for help on using tickets.