[QGIS-trac] [Quantum GIS] #3870: Negative numbers cannot be set as NULL in raster/clipping

Quantum GIS qgis at qgis.org
Sat Jun 4 13:55:21 EDT 2011


#3870: Negative numbers cannot be set as NULL in raster/clipping
--------------------------------+-------------------------------------------
   Reporter:  alobo             |              Owner:  brushtyler   
       Type:  bug               |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  GDALTools         |            Version:               
   Keywords:                    |   Platform_version:               
   Platform:  All               |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 At least in raster clipping, I cannot set -32768 as NULL using the
 gui, cannot write the "-"
 I get
 gdalwarp -dstnodata 32768 -q -cutline
 /media/Iomega_HDD/FLUXPYR/FlxPyrAOI1/FlxPyrAOI1.shp -dstalpha -of
 GTiff /media/Iomega_HDD/FLUXPYR/SRTM/SRTM90v41/srtm36y37_04.tif
 /media/Iomega_HDD/FLUXPYR/SRTM/SRTM90v41/srtm90FP.tif
 instead of
 gdalwarp -dstnodata -32768 -q -cutline
 /media/Iomega_HDD/FLUXPYR/FlxPyrAOI1/FlxPyrAOI1.shp -dstalpha -of
 GTiff /media/Iomega_HDD/FLUXPYR/SRTM/SRTM90v41/srtm36y37_04.tif
 /media/Iomega_HDD/FLUXPYR/SRTM/SRTM90v41/srtm90FP.tif

 (cut and paste to the command window was a simple workaround).

 Agus

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3870>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list