[GRASS-user] Re: Import global maps (Ascii,
png or KLM) from riverthreat.net
Joshua Arnott
josh at snorfalorpagus.net
Mon Aug 15 07:11:37 EDT 2011
On 16/08/2011 5:00 pm, grass-user-request at lists.osgeo.org wrote:
> Message: 5 Date: Mon, 15 Aug 2011 12:30:28 +0300 From: Micha Silver
> <micha at arava.co.il> Subject: Re: [GRASS-user] Re: Import global maps
> (Ascii, png or KLM) from riverthreat.net To: Johannes Radinger
> <JRadinger at gmx.at> Cc: grass-user at lists.osgeo.org Message-ID:
> <1313400628.8806.4.camel at SL6> Content-Type: text/plain;
> charset="UTF-8" On Mon, 2011-08-15 at 10:24 +0200, Johannes Radinger
> wrote:
>> > Hello again!
>> >
>> > Just to follow up my last weeks question:
>> > Is there anyone who can help me how to import a map from
>> > riverthreat.net? What are the appropriate settings of the
>> > coordinate system? and how do I have to import the raster
>> > maps? For more info just see email below.
>> >
> I tried with the ASCII formatted data and it works fine using the GRASS
> r.in.arc module. Here are the steps:
> Create a GRASS location based on the EPSG:4326 coordinate reference
> system, and set its region to the whole world, with resolution 0.5 deg:
>
> g.region e=180 w=-180 n=90 s=-90 res=0.5 -p
>
> Download the ASCII file. I had to make one small change in the ARC/Info
> headers: the NOVALUE number should be an integer, so just change it to
> -9999 (instead of -9999.00000).
> Now:
>
> r.in.arc Pesticide_Loading.asc out=pesticide
>
> and display the resulting raster.
>
> --
> Micha
Import with r.in.gdal doesn't require the files to be modified, e.g.:
r.in.gdal input=Biodiversity_Threat.asc out=Biodiversity_Threat -o
Josh.
More information about the grass-user
mailing list