[postgis-devel] [PostGIS] #1819: [raster] floating point issues with ST_World2RasterCoordX and ST_World2RasterCoordY

PostGIS trac at osgeo.org
Wed May 23 10:28:55 PDT 2012


#1819: [raster] floating point issues with ST_World2RasterCoordX and
ST_World2RasterCoordY
------------------------+---------------------------------------------------
  Reporter:  dustymugs  |       Owner:  dustymugs    
      Type:  defect     |      Status:  closed       
  Priority:  medium     |   Milestone:  PostGIS 2.0.1
 Component:  raster     |     Version:  2.0.x        
Resolution:  fixed      |    Keywords:  history      
------------------------+---------------------------------------------------

Comment(by pracine):

 Did you make sure that only one of the upper left and the lower right
 corner (and not both) are converted to an actual raster coordinate. i.e.
 If the upper left corner returns 1 then the lower right corner should
 return width + 1. Otherwise, from tile to tile, you fall into
 inconsistencies.

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