[gdal-dev] Re: storing height information in a .tif rather the grayscale in the tif relying on another file

2010-02-23 Thread anotherObject
Thanks for your patience, The metadata about my file is wrong because it is the metadata from the deriving 32 bit file. If I calculate the statistics of my new 8 bit file (which i do in ArcGIS, i dont know if GDAL does this?), then the statistics are correct, but ArcGIS also applies a standard de

[gdal-dev] Re: storing height information in a .tif rather the grayscale in the tif relying on another file

2010-02-23 Thread anotherObject
Hi Frank >Ytrapaet, > >If you had a 16bit DEM with no color information (such as a normal DTED >for instance) the following command would convert to 8bit by linear scaling >of the min/max to 0-255 without applying any color table. The implicit >color interpretation of the result is greyscale. >

[gdal-dev] storing height information in a .tif rather the grayscale in the tif relying on another file

2010-02-23 Thread anotherObject
I have successfully been using gdal_translate to convert some tifs. Viewing my resulting 8 byte tifs through a GIS viewer, the color ramp is perfect. However I converted these to 8 byte so i could further work with them in photoshop. When I open one of my 8 byte .tifs in photoshop, the DEM looks

[gdal-dev] Re: installing GDAL for pythonwin: can import and use gdal, but not gdal_translate

2010-02-17 Thread anotherObject
Chaitanya - thank you! i am not used to much GIS programming outside of the pythonwin context. Im glad its not a setup problem. I'm not sure i need to make some more changes to my environment that are not mentioned in that pdf article describing the setup GDAL; every time i try any sort of comman

[gdal-dev] Re: installing GDAL for pythonwin: can import and use gdal, but not gdal_translate

2010-02-17 Thread anotherObject
hi Chaitanya, Thanks for the response. Perhaps i am just not understanding or remembering terms, but is the pythonwin interactive window not the command line? that is where i am trying to access gdal_translate (i guess run the exe would be more corrent), yet it completely does not recognize the

[gdal-dev] installing GDAL for pythonwin: can import and use gdal, but not gdal_translate

2010-02-17 Thread anotherObject
Hello, i am new to using GDAL, from what I've looked into it seems great. I am using pythonwin to interact with GDAL. For installation, I followed the instructions here: http://www.gis.usu.edu/~chrisg/python/2009/install.html (installing GDAL manually). All my windows system variables are identi