[GRASS-user] opening .gri anf .bin files in grass gis.
Markus Neteler
neteler at osgeo.org
Wed May 25 15:23:44 PDT 2016
On Tue, May 24, 2016 at 3:27 PM, Rengifo Ortega <rengifoo at yahoo.de> wrote:
> Dear Grass Community.,
> first of all a greeting to the community. I have a question and hope some of
> you can help me with it.
>
> I have got a .gri and a .bin file that represent a geodetic height modell
> in Norway,which can be downloaded for free from here.
> ftp://ftp.geodesi.no/NNTrans%20-%20Transformasjon%20mellom%20NN2000%20og%20NN1954/
... unfortunately it wants a password.
> So, I have tried unsucessfull to import the .bin file into GRASS GIS and
> the .gri file is not even read into GRASS GIS. Have any of you tried to open
> a .gri file in GRASS GIS.
>
> i tried the r.in.bin with the following parameters with not success:
> try 1:
> r.in.bin NNTrans2016A.bin out=nntranstest r=5400 c=10800 n=72 s=57 w=
> 1 e=33 bytes=2
> try 2:
> r.in.bin NNTrans2016A.bin out=nntranstest r=5400 c=10800 n=72 s=57 w=
> 1 e=33 bytes=4
> try 3:
> r.in.bin NNTrans2016A.bin out=nntranstest r=5400 c=10800 n=72 s=57 w=
> 1 e=33 bytes=8
>
>
> In all three cases I got the following error;
> WARNING: File Size 1577088 ... Total Bytes 116640000
> ERROR: Bytes do not match file size
So, is the file size 116640000 bytes?
Guestimating, I get
> 5400*10800
[1] 58320000
> 116640000 / 58320000
[1] 2
--> 2 bytes.
Or is the size 1577088 bytes?
Markus
More information about the grass-user
mailing list