Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by rouault

Attachment: ticket_2747.patch added

comment:1 Changed 5 years ago by rouault

Component: postgisraster
Owner: changed from pramsey to Bborie Park

comment:2 Changed 5 years ago by robe

Milestone: PostGIS 2.1.4

comment:3 Changed 5 years ago by Bborie Park

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.