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

PostGIS trac at osgeo.org
Wed May 23 10:37:01 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 dustymugs):

 I'm confused by your comment.  All that I've done is remove the pure
 plpgsql code (which has floating-point issues) and instead call the C
 API's rt_raster_geopoint_to_cell function.  This eliminated the cases that
 I was seeing where the upper left corner of a tile was return 0,0 instead
 of 1,1.

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