[postgis-devel] [PostGIS] #1501: [raster] regression failures

PostGIS trac at osgeo.org
Wed Feb 1 07:06:27 PST 2012


#1501: [raster] regression failures
--------------------+-------------------------------------------------------
 Reporter:  gdt     |       Owner:  dzwarg       
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.0.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by gdt):

 (I had to load raster/test/regress/create_rt_mapalgebrafctngb_test.sql.)


 {{{
 psql (9.1.2)
 Type "help" for help.

 gdt=#  \set VERBOSITY verbose
 gdt=#
 gdt=#  SELECT
 gdt-#    ST_Value(rast, 2, 2) = 1,
 gdt-#    round(ST_Value(
 gdt(#      ST_Hillshade(rast, 1, NULL, 0.0, pi()/4.0, 255), 2, 2
 gdt(#    )*10000) = 1803122
 gdt-#    FROM ST_TestRasterNgb(3, 3, 1) AS rast;
 ERROR:  22003: input is out of range
 CONTEXT:  PL/pgSQL function "_st_hillshade4ma" line 22 at assignment
 LOCATION:  datan2, float.c:1540
 }}}

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