[Gvsig_english] Re: recommended raster exchange format

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Thu Aug 14 10:10:12 CEST 2008


Run r.info on your GRASS raster map.
If the "Data Type" is FCELL or DCELL, you can use Float64.
You will loose colour information.
If it is CELL, then you need to look at the "Range of data"
and choose an integer range that fits it UInt16 should work
in most cases. But if you have negative values, then you need
to use a signed integer type and you will lose colour information.

Ben

Tim Michelsen wrote:
> Hello,
>>> The r.out.gdal module is not very good at guessing the right data type
>>> for your data. You may need to experiment a bit with the "type" option.
> since I think that gvSIG is also used by GRASS people [1] for mapping I continue
> on this list.
> 
> Is there any help or hints one can use when deducting the raster type?
> Sometimes FCell rasters are well exported with Float64 sometimes with Uint16.
> How can I know which one to choose?
> 
> 
> 
> Thanks in advance,
> Timmie
> 
> [1]: http://www.mail-archive.com/grass-user@lists.osgeo.org/msg02648.html
> 
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> 
> 


-- 
Benjamin Ducke
Senior Applications Support and Development Officer

Oxford Archaeology Ltd
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.

Tel: +44 (0)1865 263 800 (switchboard)
Tel: +44 (0)1865 980 758 (direct)
Fax :+44 (0)1865 793 496
benjamin.ducke at oxfordarch.co.uk




------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the Gvsig_internacional mailing list