[postgis-devel] [PostGIS] #553: rt_band_properties test is failing

PostGIS trac at osgeo.org
Fri Jul 30 09:44:34 PDT 2010


#553: rt_band_properties test is failing
-----------------------+----------------------------------------------------
 Reporter:  mloskot    |       Owner:  pracine
     Type:  defect     |      Status:  new    
 Priority:  medium     |   Milestone:         
Component:  wktraster  |     Version:  trunk  
 Keywords:             |  
-----------------------+----------------------------------------------------
 Building WKT Raster (r5759) with PostGIS (r5758) and GEOS (SVN revision
 3087) on Linux 64-bit.

 All PostGIS tests pass, however the rt_band_properties test of WKT Raster
 is failing:

 {{{
 Running tests

  rt_io. ok
  create_rt_bytea_test. ok
  rt_bytea. ok
  create_rt_box2d_test. ok
  rt_box2d. ok
  create_rt_properties_test. ok
  rt_dimensions. ok
  rt_pixelsize. ok
  rt_upperleft. ok
  rt_rotation. ok
  rt_georeference. ok
  rt_set_properties. ok
  create_rt_band_properties_test. ok
  rt_band_properties. failed (diff expected obtained:
 /tmp/rtpgis_reg_1346/test_14_diff)
  rt_set_band_properties. ok
  rt_pixelvalue. ok
  create_rt_utility_test. ok
  rt_utility. ok
  create_rt_gist_test. ok
  rt_above. ok
  rt_below. ok
  rt_contained. ok
  rt_contain. ok
  rt_left. ok
  rt_overabove. ok
  rt_overbelow. ok
  rt_overlap. ok
  rt_overleft. ok
  rt_overright. ok
  rt_right. ok
  rt_same. ok
  rt_spatial_relationship. ok
  bug_test_car5. ok

 Run tests: 33
 Failed: 1
 make[2]: Leaving directory
 `/home/mloskot/dev/wktraster/_svn/trunk/test/regress'
 make[1]: Leaving directory `/home/mloskot/dev/wktraster/_svn/trunk/test'
 }}}

 Apparently, something has changed in the NODATA value handling and either
 there is a problem or test case needs to be revised:

 {{{
 mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ cat
 /tmp/rtpgis_reg_1346/test_14_diff
 *** rt_band_properties_expected 2010-07-30 17:35:08.000000000 +0100
 --- /tmp/rtpgis_reg_1346/test_14_out    2010-07-30 17:41:29.000000000
 +0100
 ***************
 *** 1,2 ****
 ! WARNING:  Getting NODATA value for a band without NODATA values. Using 0
 ! WARNING:  Getting NODATA value for a band without NODATA values. Using 0
 --- 1,2 ----
 ! WARNING:  Getting NODATA value for a band without NODATA values. Using
 -530679216
 ! WARNING:  Getting NODATA value for a band without NODATA values. Using
 -530679360
 }}}

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