Hi dear Grass users!
I've grass5beta7 on linux and I'd like to convert 2 bytes binary raster
files to grass. The datas are signed and the byteorders are
little-endian for example: 0x52FE = -430 (decimal)
The question is r.in.bin supports this byteorder or not (there is no
manual), may be in the future release (grassbetax x>7 ?)? Or any idea
how can I convert these files?
Thanks,
Zsolt
Felker Zsolt a écrit :
Hi dear Grass users!
I've grass5beta7 on linux and I'd like to convert 2 bytes binary raster
files to grass. The datas are signed and the byteorders are
little-endian for example: 0x52FE = -430 (decimal)
The question is r.in.bin supports this byteorder or not (there is no
manual), may be in the future release (grassbetax x>7 ?)? Or any idea
how can I convert these files?
I planed to upgrade r.in.bin so it can manage quite every binary format,
but had some timing trouble (I just moved and changed of job, but things
are gradually going better ;-)... so maybe in a pair of week (I just have
to convince my wife that the painting and wall-paper are OK and that there
is no need to build another cupboard 
So stay on-line !
--
Michel WURTZ - DIG - Maison de la télédétection
500, rue J.F. Breton
34093 MONTPELLIER Cedex 5
Michel Wurtz wrote:
Felker Zsolt a écrit :
>
> Hi dear Grass users!
>
> I've grass5beta7 on linux and I'd like to convert 2 bytes binary raster
> files to grass. The datas are signed and the byteorders are
> little-endian for example: 0x52FE = -430 (decimal)
> The question is r.in.bin supports this byteorder or not (there is no
> manual), may be in the future release (grassbetax x>7 ?)? Or any idea
> how can I convert these files?
I planed to upgrade r.in.bin so it can manage quite every binary format,
but had some timing trouble (I just moved and changed of job, but things
are gradually going better ;-)... so maybe in a pair of week (I just have
to convince my wife that the painting and wall-paper are OK and that there
is no need to build another cupboard 
So stay on-line !
Thanks Michel, I've solved the problem (thank you Markus) with dd command
conv=swab option.
But if r.in.bin works on every bin format, it'll be welcome news!
Zsolt