[winGRASS] Re: [GRASS-user] Importing GLOBE DEM data
Moritz Lennert
mlennert at club.worldonline.be
Sat Oct 28 08:16:13 EDT 2006
gotnidea! Business Development Centre wrote:
> Yes, it should. But I fail to find any documentation as to how it is
> done. Even on the page you have mentioned, in example it is given like this:
>
> "To import GLOBE DEM tiles
> <http://www.ngdc.noaa.gov/seg/topo/gltiles.shtml> (approx 1km
> resolution, better than GTOPO30 DEM data), the user has to download
> additionally the related HDR file(s)
> <ftp://ftp.ngdc.noaa.gov/GLOBE_DEM/data/elev/esri/hdr/>. Finally, e.g.
> the 'terrain' color table can be assigned to the imported map with
> /r.colors/. "
>
> How am I supposed to do it?
In general, please don't ask questions like "How am I supposed to it",
but rather questions like: "After having read the manual I tried the
following command, but I got the following error message" or (if this is
your only problem) "How do I run r.in.gdal from the GUI ?"
If the man page is not clear, please tell us what information you are
missing exactly.
In order to access r.in.gdal from the GUI, go to File->Import->Raster
Map->"Multiple formats using GDAL".
Your data already contains the hdr and clr files.
But if I understand correctly, the data file actually does not contain
the projection information, so if you use r.in.gdal with the location=
option, it will just create an xy (unprojected) location.
So you have to create a location with the relevant projection first (see
http://www.ngdc.noaa.gov/mgg/topo/report/s11/s11H.html).
However, I agree that this is currently a bit difficult in winGRASS...
A solution at this stage might be to use g.proj to create the new
location (but I don't have access to wingrass right now to test).
In an existing location (for example spearfish) go to Config->Manage
Projections->"Show projection information..." and enter the following
parameters:
- check "Create new projection file" flag
- PROJ.4 projection description: +proj=longlat +datum=wgs84
- Name of new location to create: GUJARAT (or whatever you like)
Click on Run.
Now open GRASS in the new location and run r.in.gdal from there. You
will have to check the "Override projection" flag.
Moritz
>
> Abhinav
>
>
> On 10/28/06, *Markus Neteler* <neteler at itc.it <mailto:neteler at itc.it>>
> wrote:
>
> Hi,
>
> r.in.gdal should import it, see
>
> http://grass.itc.it/grass63/manuals/html63_user/r.in.gdal.html
>
> Markus
>
> On Sat, Oct 28, 2006 at 11:14:34AM +0530, gotnidea! Business
> Development Centre wrote:
> > Hi,
> >
> > I have been trying to import GLOBE DEM file from:
> >
> > [1]http://www.ngdc.noaa.gov/cgi-bin/seg/ff/nph-newform.pl/seg/topo/customdatacd?disp=one&sid=peak.140.172.184.251.0610272224463912
> >
> > I don't know what to do next. I have downloaded the file and
> unzipped it
> > to get three files .bil, .hdr and one color file. How should I
> go about
> > using it?
> >
> > Can anyone please guide me? I am using WinGRASS6.3 CVS Native
> on Windows
> > XP,
> >
> > thanks in advance,
> >
> > Abhinav
> >
> > References
> >
> > Visible links
> > 1.
> http://www.ngdc.noaa.gov/cgi-bin/seg/ff/nph-newform.pl/seg/topo/customdatacd?disp=one&sid=peak.140.172.184.251.0610272224463912
> <http://www.ngdc.noaa.gov/cgi-bin/seg/ff/nph-newform.pl/seg/topo/customdatacd?disp=one&sid=peak.140.172.184.251.0610272224463912>
>
> > _______________________________________________
> > grassuser mailing list
> > grassuser at grass.itc.it <mailto:grassuser at grass.itc.it>
> > http://grass.itc.it/mailman/listinfo/grassuser
>
>
> --
> Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
> ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
> MPBA - Predictive Models for Biol. & Environ. Data Analysis
> Via Sommarive, 18 - 38050 Povo (Trento), Italy
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it <mailto:grassuser at grass.itc.it>
> http://grass.itc.it/mailman/listinfo/grassuser
> <http://grass.itc.it/mailman/listinfo/grassuser>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> winGRASS mailing list
> winGRASS at grass.itc.it
> http://grass.itc.it/mailman/listinfo/wingrass
More information about the grass-windows
mailing list