[gdal-dev] Python syntax for Terragen band::SetUnitType()

2011-06-12 Thread Chris English
Hi, What is the proper Python syntax for SetUnitType(m) for Terragen ? type(dst_ds)class 'osgeo.gdal.Dataset' The dataset (Terragen) exists, and (I think) in order for the MIN/MAXUSERPIXELVALUESto make sense it seems you'd have to SetUnitType() prior to WritingArrayin the same way you'd

Re: [gdal-dev] Python syntax for Terragen band::SetUnitType()

2011-06-12 Thread Frank Warmerdam
On 11-06-12 01:38 PM, Chris English wrote: Hi, What is the proper Python syntax for SetUnitType(m) for Terragen ? type(dst_ds)class 'osgeo.gdal.Dataset' The dataset (Terragen) exists, and (I think) in order for the MIN/MAXUSERPIXELVALUESto make sense it seems you'd have to SetUnitType()