Opened 11 years ago
Closed 11 years ago
#2747 closed defect (fixed)
[PATCH] Fix failure of rt_raster_gdal_polygonize() with GDAL 2.0
Reported by: | rouault | Owned by: | dustymugs |
---|---|---|---|
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)
Change History (4)
by , 11 years ago
Attachment: | ticket_2747.patch added |
---|
comment:1 by , 11 years ago
Component: | postgis → raster |
---|---|
Owner: | changed from | to
comment:2 by , 11 years ago
Milestone: | → PostGIS 2.1.4 |
---|
comment:3 by , 11 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed for 2.1 in r12582. Fixed for trunk in r12584. We'll have additional changes as GDAL 2.0 settles down.