[GRASS-user] DEM export to GeoTiff

Stefan Mietke canada_stefan at yahoo.ca
Wed Jan 14 10:49:31 EST 2009


Hello list,I have a problem with exporting a DEM to *tif.In a first step I import it via r.in.gdal and in a second step I export it with r.out.gdal and the file is not the same anymore. GDAL reduce the file to one pixel but a greater storage size.Even the settings (tags) changes total.Here are some extracts from gdalinfo:Before:Driver: GTiff/GeoTIFF
Size is 108, 84
Coordinate System is:
PROJCS["WGS 84 / UTM zone 45N",
[...]
Band 1 Block=64x64 Type=UInt16, ColorInterp=Gray
    Computed Min/Max=4349.000,5738.000
[EOF]
After:Driver: GTiff/GeoTIFF
Size is 1, 1
Coordinate System is:
PROJCS["WGS 84 / UTM zone 45N",
[...]
Band 1 Block=1x1 Type=UInt16, ColorInterp=Palette
    Computed Min/Max=0.000,0.000
  NoData Value=-32768
  Metadata:
    COLOR_TABLE_RULES_COUNT=1
    COLOR_TABLE_RULE_RGB_0=4.349000e+03 5.738000e+03 0 0 0 255 255 255
  Color Table (RGB with 65536 entries)
    0: 0,0,0,255
    1: 0,0,0,255[and 65533 more lines ...]

I mean it is a very simple process (import/export) but it don't work on my computer satisfactorily. So what I'm doing wrong?Kind regards,Stefan


      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090114/1befd7b2/attachment.html


More information about the grass-user mailing list