Ticket #4292 (closed defect: fixed)
gdal_rasterize sometimes doesn't use -a_nodata correctly
| Reported by: | Alister | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | Algorithms | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
By default geotiffs created by gdal_rasterize are Float64. Create a geotiff with gdal_rasterize, setting the nodata value to something large e.g. -a_nodata 2147483647 The nodata value will be set to what you specify, but any areas which should be nodata will actually be 2147483648.
Is there something I'm missing here?
I have gdal1.8.1 from osgeo4w, although I think this behaviour has been around for a while.
Change History
Note: See
TracTickets for help on using
tickets.
