[postgis-devel] [PostGIS] #2119: [raster] use "garbage" SRS in RASTER_GDALWarp() when raster SRID = 0 AND function isn't being called to do a reprojection

PostGIS trac at osgeo.org
Thu Nov 29 15:59:41 PST 2012


#2119: [raster] use "garbage" SRS in RASTER_GDALWarp() when raster SRID = 0 AND
function isn't being called to do a reprojection
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 When the GDAL Warp API is called with a raster that has no SRS, the API
 will error regardless of operation.  But if a "garbage" SRS (completely
 valid SRS but not correct for the raster) is used, no error happens.

 Testing was done on the gdalwarp utility using a raster with its correct
 SRS in addition to other "garbage" SRSes on resampling operations (no
 reprojection).  Test results indicate that the output rasters are
 identical.

 This usage of "garbage" SRS would only take place when RASTER_GDALWarp()
 is called with no output SRID, thereby nullifying any possibility of
 reprojection.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2119>
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-devel mailing list