[postgis-tickets] [PostGIS] #828: [raster] Loader generates wrong SQL when NODATA for a band is NaN
PostGIS
trac at osgeo.org
Mon May 19 00:22:19 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.1.4
Component: raster | Version: trunk
Resolution: | Keywords: loader,nan,gdal
---------------------------+------------------------------------------------
Changes (by sbl):
* cc: sbl (added)
* status: closed => reopened
* resolution: fixed =>
* milestone: PostGIS 2.0.0 => PostGIS 2.1.4
Comment:
Reopening,since the problem seems to reoccure (http://osgeo-
org.1560.x6.nabble.com/GRASS-created-geotiff-do-not-properly-load-into-
PostGIS-raster2pgsql-tt5140697.html).
Looks like the NaN check in the Python version did not make it to the
C-version... Maybe raster2pgsql needs to call CPLIsNan from GDAL
explicitly:
See: http://osgeo-org.1560.x6.nabble.com/gdal-dev-
GDALSetRasterNoDataValue-and-NaN-td4996633.html
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/828#comment:3>
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