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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to