[gdal-dev] updating a HFA image
Frank Warmerdam
warmerdam at pobox.com
Tue Apr 1 15:16:14 EDT 2008
Limei Ran wrote:
> Hi:
>
> I opened an HFA image and got a band from it (only 1 band image). I
> read a region from the band and update the band with the updated array.
> But, for somehow, I can not view the updated HFA image in arcGIS due to
> building pyramids failed. Could you give me some ideas about what may
> go wrong? Here are codes related:
...
Limei,
I don't see any problem in your code.
Is the original imagine file created with GDAL or with imagine or arcgis?
In place update of anything other than uncompressed image data may not work
well for imagine files not created with GDAL.
If you can isolate this to a small file then you could file a ticket,
attaching the before and after .img files and explaining as best as possible
what goes wrong in ArcGIS.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list