[fdo-trac] #654: GDAL FDO does not handle rotate images

FDO trac_fdo at osgeo.org
Tue Jun 8 11:05:20 EDT 2010


#654: GDAL FDO does not handle rotate images
---------------------------+------------------------------------------------
 Reporter:  andrewd        |         Owner:  warmerdam
     Type:  defect         |        Status:  assigned 
 Priority:  major          |     Milestone:  3.6.0    
Component:  GDAL Provider  |       Version:  3.4.0    
 Severity:  3              |    Resolution:           
 Keywords:                 |   External_id:           
---------------------------+------------------------------------------------
Changes (by warmerdam):

  * status:  new => assigned

Comment:

 Andrew,

 I'm not aware of the GDAL FDO provider doing reprojection.  I am guessing
 this facility is provided higher up in MapGuide.

 Skimming the code, I see that you are correct.  I can think of two ways to
 fix this. One is to made the FDO GDAL provider actually understand the
 rotational coefficients of the underlying image and to have an alterate
 _getTile() implementation in the FdoRfpStreamReaderGdalByTile class that
 would read the region in, and then resampled to "derotate" it.

 The alternative would be to recognise rotated images at the point they are
 opened with GDALOpen(), and to create a virtual warped raster wrapping the
 image which would be a virtual view on the image if it had been rotated to
 north up.   This mechanism is used in apps like SIS and QGIS for handling
 rotated images.

 I don't know if/when I will be in a position to implement one of these.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/654#comment:1>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list