[postgis-tickets] [PostGIS] #828: [raster] Loader generates wrong SQL when NODATA for a band is NaN

PostGIS trac at osgeo.org
Wed Sep 10 05:47:41 PDT 2014


#828: [raster] Loader generates wrong SQL when NODATA for a band is NaN
---------------------------+------------------------------------------------
  Reporter:  jorgearevalo  |       Owner:  jorgearevalo   
      Type:  defect        |      Status:  reopened       
  Priority:  medium        |   Milestone:  PostGIS 2.2.0  
 Component:  raster        |     Version:  trunk          
Resolution:                |    Keywords:  loader,nan,gdal
---------------------------+------------------------------------------------

Comment(by sbl):

 For those affected by this bug: a work around is to create a temporary
 vrt-file where you define a suitable NoData value, like this:

 {{{
 gdal_translate -of VRT -a_nodata 99999 your_raster.tif your_raster.vrt
 }}}

 The vrt can then be imported to PostGIS using the raster loader...

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