#3243 closed defect (fixed)
RST - provide default values on Create()
Reported by: | ilucena | Owned by: | ilucena |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.0 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | Idrisi |
Cc: | warmerdam |
Description
A simple script, probably only useful for test purpose, like this one:
>>> from osgeo import gdal >>> drv = gdal.GetDriverByName('rst') >>> dst = drv.Create("D:\\Test\\test.rst", 512, 512, 1, gdal.GDT_Byte) >>> dst.GetRasterBand(1).Fill(0) >>> dst = None
Does not produce a valid RST instance since it would lack image extents and reference system. Calling SetProjection and SetGeoReference on that script would fix that but it wouldn't hurt to have default values set at Create. Right?
Note:
See TracTickets
for help on using tickets.
Apparently fixed by r18083 ?