Folks
Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location? I'm getting "file size limit exceeded". Please help!
Maciek
Folks
Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location? I'm getting "file size limit exceeded". Please help!
Maciek
GRASS 6.0 supports reading and writing large files (> 2GB) if it is
possible in your operating system. If you compile with
-D_FILE_OFFSET_BITS=64, you should be able to have raster maps which
are larger than 2Gb.
Did you tried this?
Cheers
Christian
On Mon, 14 Feb 2005 20:38:24 +0100, Maciek Sieczka <werchowyna@pf.pl> wrote:
Folks
Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location? I'm
getting "file size limit exceeded". Please help!Maciek
How can this be enabled in ./configure? Or it is autodetected? How can
I check is my Grass compiled with this -Dblahblah option?
wbr,
Maris.
On Tue, 15 Feb 2005 10:40:07 -0300, Christian Ferreira
<christian.grass@gmail.com> wrote:
GRASS 6.0 supports reading and writing large files (> 2GB) if it is
possible in your operating system. If you compile with
-D_FILE_OFFSET_BITS=64, you should be able to have raster maps which
are larger than 2Gb.Did you tried this?
Cheers
Christian
On Mon, 14 Feb 2005 20:38:24 +0100, Maciek Sieczka <werchowyna@pf.pl> wrote:
> Folks
>
> Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location? I'm
> getting "file size limit exceeded". Please help!
>
> Maciek
>
>
From: "Christian Ferreira" <christian.grass@gmail.com>
GRASS 6.0 supports reading and writing large files (> 2GB) if it is
possible in your operating system. If you compile with
-D_FILE_OFFSET_BITS=64, you should be able to have raster maps which
are larger than 2Gb.Did you tried this?
I wanted to try it but got stucked - I don't know how to input. In ./configure or make? How?
Thanks
Maciek
DEVELOPERS:
Why isn't it enabled by default? Couldn't it be at least documented in
INSTALL?
Maciek
Me-Dàris Nartie-B¹s wrote:e-A
> > Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location? I'm
> > getting "file size limit exceeded". Please help!
>
> GRASS 6.0 supports reading and writing large files (> 2GB) if it is
> possible in your operating system. If you compile with
> -D_FILE_OFFSET_BITS=64, you should be able to have raster maps which
> are larger than 2Gb.How can this be enabled in ./configure? Or it is autodetected?
The configure script automatically imports several common make
variables from the environment, including CFLAGS, so you can use e.g.:
CFLAGS='-g -D_FILE_OFFSET_BITS=64' ./configure ...
Note that this will enable transparent large file support throughout
of GRASS. However, only the core raster I/O functions have actually
been specifically updated to support large files. Other parts of GRASS
may fail in unpredictable ways if they try to access large files.
Also, if you are using r.in.gdal to import the DEM, the GDAL library
must have been built with large file support.
How can I check is my Grass compiled with this -Dblahblah option?
Try running "nm -D /usr/local/grass-6.0.cvs/lib/libgrass_gis.so" (or
whatever libgrass_gis is called on your system); if you see references
to open64, lseek64 etc in the output, it was built with transparent
large file support.
--
Glynn Clements <glynn@gclements.plus.com>
From: "Glynn Clements" <glynn@gclements.plus.com>
Me-De$B_Se(Bis Nartie-Be$B%1e(Bs wrote:e-A
> > Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0 location?
> > I'm
> > getting "file size limit exceeded". Please help!
>
> GRASS 6.0 supports reading and writing large files (> 2GB) if it is
> possible in your operating system. If you compile with
> -D_FILE_OFFSET_BITS=64, you should be able to have raster maps which
> are larger than 2Gb.How can this be enabled in ./configure? Or it is autodetected?
The configure script automatically imports several common make
variables from the environment, including CFLAGS, so you can use e.g.:CFLAGS='-g -D_FILE_OFFSET_BITS=64' ./configure ...
Note that this will enable transparent large file support throughout
of GRASS. However, only the core raster I/O functions have actually
been specifically updated to support large files. Other parts of GRASS
may fail in unpredictable ways if they try to access large files.Also, if you are using r.in.gdal to import the DEM, the GDAL library
must have been built with large file support.How can I check is my Grass compiled with this -Dblahblah option?
Try running "nm -D /usr/local/grass-6.0.cvs/lib/libgrass_gis.so" (or
whatever libgrass_gis is called on your system); if you see references
to open64, lseek64 etc in the output, it was built with transparent
large file support.
Thanks for detailed explanation Glynn. Wouldn't it be usefull for everybody if these remarks went to INSTALL file?
Maciek
Hi,
we got just a problem. We've working on GRASS 5.7 , how can we put the DEM
under the satelite image? is it posible?
Chiara P
GIMENA Ingenieria
Lugo, Spain
__________________________________________________________________
Tiscali Adsl 3 Mega Flat, 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi in Rete alla supervelocita'
a soli 29.95 euro al mese senza limiti di tempo. Attivati entro
il 28 Febbraio 2005, 3 MESI sono GRATIS
Scopri come http://abbonati.tiscali.it/adsl/sa/2flat_tc/
Hi all,
we've workin on GRASS 5.7 and find some problem with the command i.vpoints.
we started to zoom the vector map, then we've zoomed the raster map, but
when we've tried to zoom another time the vector map it didn't work and displayed
this error message.
warning: unable to open the raster map (name map)
can anyone help us??? we've tried again and again all day!!
greetings,
Chiara P
GIMENA Ingenieria
Lugo, Spain
__________________________________________________________________
Tiscali Adsl 3 Mega Flat, 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi in Rete alla supervelocita'
a soli 29.95 euro al mese senza limiti di tempo. Attivati entro
il 28 Febbraio 2005, 3 MESI sono GRATIS
Scopri come http://abbonati.tiscali.it/adsl/sa/2flat_tc/
Try NVIZ
-Ian
On Feb 18, 2005, at 8:40 AM, kj_in_tec@tiscali.it wrote:
Hi,
we got just a problem. We've working on GRASS 5.7 , how can we put the DEM
under the satelite image? is it posible?Chiara P
GIMENA Ingenieria
Lugo, Spain__________________________________________________________________
Tiscali Adsl 3 Mega Flat, 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi in Rete alla supervelocita'
a soli 29.95 euro al mese senza limiti di tempo. Attivati entro
il 28 Febbraio 2005, 3 MESI sono GRATIS
Scopri come http://abbonati.tiscali.it/adsl/sa/2flat_tc/
From: "Hamish" <hamish_nospam@yahoo.com>
>> > > Is it possible to load a 4.1 GB GeoTiff DEM into Grass 6.0
>location? I'm getting "file size limit exceeded". Please help!..
Thanks for detailed explanation Glynn. Wouldn't it be usefull for
everybody if these remarks went to INSTALL file?
It is still in development - maybe not best to advertise functionality
which doesn't really exist yet.
Right, there is no need to advertise it widely...
On the other hand it gets people to try,
and that is how the bugs will get found & better large file support
sooner. shrug.
...but a note in the INSTALL with the all the cons and pros mentioned
wouldn't harm anybody. And this way those who would be looking for this
functionality would find it (and be warned it is still experimental) and
those who don't need it would surely no try it being scared off by the cons
mentioned.
See this: if the information was there I wouldn't have to bother you guys
and wait whole day long for a complete solution. Besides, as you said - each
new functionality needs testing. Those who try it at their own risk are well
suited to be the testers.
Maciek