#6873 closed defect (fixed)
gdal_rasterize fails to create a idrisi file
Reported by: | johanvdw | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.4 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
When trying to create a raster file using gdal_rasterize it fails if the raster driver is idrisi:
C:\warmerda\bld\bin>gdal_rasterize -a uidn -l wlas -of RST -te 201633 153890 207499 164047 -tr 1 1 E:\data\test\ e:\data\test\wlas.rst ERROR 3: Can't read(e:\data\test\wlas.rst) block with X offset 0 and Y offset 0. No such file or directory ERROR 1: e:\data\test\wlas.rst, band 1: IReadBlock failed at X offset 0, Y offset 0 ERROR 3: Can't read(e:\data\test\wlas.rst) block with X offset 0 and Y offset 1. No such file or directory ...
Doing the same conversion to Geotiff works correctly:
C:\warmerda\bld\bin>gdal_rasterize -a uidn -l wlas -of GTiff -te 201633 153890 207499 164047 -tr 1 1 E:\data\test\ e:\data\test\wlas.tif 0...10...20...30...40...50...60...70...80...90...100 - done.
Note:
See TracTickets
for help on using tickets.
I don't think the input shapefile matters, but I've put it here nevertheless to reproduce the problem: http://gisky.be/test.zip