[postgis-tickets] [PostGIS] #2747: [PATCH] Fix failure of rt_raster_gdal_polygonize() with GDAL 2.0

PostGIS trac at osgeo.org
Sat May 24 12:11:31 PDT 2014


#2747: [PATCH] Fix failure of rt_raster_gdal_polygonize() with GDAL 2.0
---------------------+------------------------------------------------------
 Reporter:  rouault  |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  2.1.x  
 Keywords:           |  
---------------------+------------------------------------------------------
 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)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2747>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list