[postgis-devel] [PostGIS] #1902: [raster] GDAL Surfer export creates files with minY and maxY swapped in header.

PostGIS trac at osgeo.org
Thu Jul 5 13:38:07 PDT 2012


#1902: [raster] GDAL Surfer export creates files with minY and maxY swapped in
header.
------------------------------+---------------------------------------------
 Reporter:  febi              |       Owner:  pracine      
     Type:  defect            |      Status:  new          
 Priority:  medium            |   Milestone:  PostGIS 2.0.2
Component:  raster            |     Version:  2.0.x        
 Keywords:  raster GSBG GSAG  |  
------------------------------+---------------------------------------------

Comment(by dustymugs):

 Which version of GDAL are you running?  Also, is the value for scale Y
 negative or positive?  Typically, scale Y is negative thereby having the Y
 coordinate of upper-left corner be maxY.  If scale Y is positive, the Y
 coordinate of the upper-left corner would be minY.

 ST_AsGDALRaster is pretty bare and acts only as a pass-through function to
 GDAL's CreateCopy() of the requested format.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1902#comment:1>
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