Re: [GRASS-user] PyWPS and GRASS - Example?

2011-08-15 Thread Mohammed Rashad
you have a look at lsi.iiit.ac.in/lsi/wgrass or
http://lsi.iiit.ac.in:9090/wgrass

this allows you to run grass modules on web

let me know if anything goes wrong

On Mon, Aug 15, 2011 at 4:31 PM, Georg Kaspar  wrote:

> Hi everyone,
>
> i'm looking for an examplary PyWPS process that makes use of GRASS GIS.
> So far I found a lot of tutorials concerning the setup of PyWPS but what
> I need is a working process - if possible with a fitting OpenLayers (or
> similar) frontend. Can anybody help me out?
>
> Thanks in advance,
> Georg
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Regards,
   Mohammed Rashad K M
   M.S. (By Research) student
   Lab for Spatial Informatics
   Department of CSE
   International Institute of Information Technology
   Hyderabad, India
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] PyWPS and GRASS - Example?

2011-08-15 Thread Jorge de Jesus
 Hi to all

Georg maybe your should also ask in the pywps mailing list. I don't have
any GRASS examples "at hand". In the wiki there's just some small notes
concerning openlayers

http://wiki.rsg.pml.ac.uk/pywps/OpenLayers

Maybe in a few weeks I'll have something, again better to ask in the
pywps mailing list

Jorge


On 15/08/11 12:06, Saber Razmjooei wrote:
> http://pywps.wald.intevation.org/documentation/process.html
>
> We are working on some demos. Should be up and running soon(ish).
>
> Cheers
> Saber
>
>> Hi everyone,
>>
>> i'm looking for an examplary PyWPS process that makes use of GRASS GIS.
>> So far I found a lot of tutorials concerning the setup of PyWPS but what
>> I need is a working process - if possible with a fitting OpenLayers (or
>> similar) frontend. Can anybody help me out?
>>
>> Thanks in advance,
>> Georg
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



Plymouth Marine Laboratory
 
Registered Office:
Prospect Place 
The Hoe
Plymouth  PL1 3DH
 
Website: www.pml.ac.uk
Click here for PML Annual Review
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503

Please think before you print


This e-mail, its content and any file attachments are confidential.

If you have received this e-mail in error please do not copy, disclose it to 
any third party or use the contents or attachments in any way. Please notify 
the sender by replying to this e-mail or e-mail fori...@pml.ac.uk and then 
delete the email without making any copies or using it in any other way.

The content of this message may contain personal views which are not the views 
of Plymouth Marine Laboratory unless specifically stated.

You are reminded that e-mail communications are not secure and may contain 
viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage 
which may be caused by viruses.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net

2011-08-15 Thread Joshua Arnott

On 16/08/2011 5:00 pm, grass-user-requ...@lists.osgeo.org wrote:
Message: 5 Date: Mon, 15 Aug 2011 12:30:28 +0300 From: Micha Silver 
 Subject: Re: [GRASS-user] Re: Import global maps 
(Ascii, png or KLM) from riverthreat.net To: Johannes Radinger 
 Cc: grass-user@lists.osgeo.org Message-ID: 
<1313400628.8806.4.camel@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
- (instead of -.0).
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.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] PyWPS and GRASS - Example?

2011-08-15 Thread Saber Razmjooei
http://pywps.wald.intevation.org/documentation/process.html

We are working on some demos. Should be up and running soon(ish).

Cheers
Saber

> Hi everyone,
>
> i'm looking for an examplary PyWPS process that makes use of GRASS GIS.
> So far I found a lot of tutorials concerning the setup of PyWPS but what
> I need is a working process - if possible with a fitting OpenLayers (or
> similar) frontend. Can anybody help me out?
>
> Thanks in advance,
> Georg
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] PyWPS and GRASS - Example?

2011-08-15 Thread Georg Kaspar
Hi everyone,

i'm looking for an examplary PyWPS process that makes use of GRASS GIS.
So far I found a lot of tutorials concerning the setup of PyWPS but what
I need is a working process - if possible with a fitting OpenLayers (or
similar) frontend. Can anybody help me out?

Thanks in advance,
Georg

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net

2011-08-15 Thread Johannes Radinger
Hello Micha,

Thank you very much for your help. The EPSG:4326 coordinate system
was the thing I was looking for!

/johannes


 Original-Nachricht 
> Datum: Mon, 15 Aug 2011 12:30:28 +0300
> Von: Micha Silver 
> An: Johannes Radinger 
> CC: grass-user@lists.osgeo.org
> Betreff: Re: [GRASS-user] Re: Import global maps (Ascii, png or KLM) from 
> riverthreat.net

> 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
> - (instead of -.0).
> Now:
> 
> r.in.arc Pesticide_Loading.asc out=pesticide
> 
> and display the resulting raster.
> 
> --
> Micha
> 
> > thank you very much
> > /Johannes
> > 
> > 
> >  Original-Nachricht 
> > Datum: Wed, 10 Aug 2011 12:43:42 +0200
> > Von: "Johannes Radinger" 
> > An: grass-user@lists.osgeo.org
> > Betreff: Import global maps (Ascii, png or KLM) from riverthreat.net
> > 
> > Hello,
> > 
> > I've a question concerning the import of raster maps into grass:
> > 
> > On http://www.riverthreat.net/data.html it is possible to get
> > worldwide data on river threats and environmental pressures. The data
> > are provided either as images (png), ascii files or Google-Earth KLM
> files
> > with a resolution of 30 seconds (0.5 degrees).
> > 
> > I'd like to import some of these maps into grass gis for further
> analysis. Thus some questions arise: 
> > 
> > *Which coordinate system do I have to select so that the data are
> displayed correctly?
> > * What is the best data format for the import? I think maybe Ascii?
> These files have a header like following:
> > ncols   720
> > nrows   360
> > xllcorner   -180.00
> > yllcorner   -90
> > cellsize   0.50
> > NODATA_value   -.00
> > 
> > Maybe you can help me with the import!
> > 
> > Thank you very much
> > Johannes
> > -- 
> > NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
> > Jetzt informieren: http://www.gmx.net/de/go/freephone
> > 
> > 
> 
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net

2011-08-15 Thread Micha Silver
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
- (instead of -.0).
Now:

r.in.arc Pesticide_Loading.asc out=pesticide

and display the resulting raster.

--
Micha

> thank you very much
> /Johannes
> 
> 
>  Original-Nachricht 
> Datum: Wed, 10 Aug 2011 12:43:42 +0200
> Von: "Johannes Radinger" 
> An: grass-user@lists.osgeo.org
> Betreff: Import global maps (Ascii, png or KLM) from riverthreat.net
> 
> Hello,
> 
> I've a question concerning the import of raster maps into grass:
> 
> On http://www.riverthreat.net/data.html it is possible to get
> worldwide data on river threats and environmental pressures. The data
> are provided either as images (png), ascii files or Google-Earth KLM files
> with a resolution of 30 seconds (0.5 degrees).
> 
> I'd like to import some of these maps into grass gis for further analysis. 
> Thus some questions arise: 
> 
> *Which coordinate system do I have to select so that the data are displayed 
> correctly?
> * What is the best data format for the import? I think maybe Ascii? These 
> files have a header like following:
> ncols   720
> nrows   360
> xllcorner   -180.00
> yllcorner   -90
> cellsize   0.50
> NODATA_value   -.00
> 
> Maybe you can help me with the import!
> 
> Thank you very much
> Johannes
> -- 
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! 
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> 
> 


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net

2011-08-15 Thread Johannes Radinger
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.

thank you very much
/Johannes


 Original-Nachricht 
Datum: Wed, 10 Aug 2011 12:43:42 +0200
Von: "Johannes Radinger" 
An: grass-user@lists.osgeo.org
Betreff: Import global maps (Ascii, png or KLM) from riverthreat.net

Hello,

I've a question concerning the import of raster maps into grass:

On http://www.riverthreat.net/data.html it is possible to get
worldwide data on river threats and environmental pressures. The data
are provided either as images (png), ascii files or Google-Earth KLM files
with a resolution of 30 seconds (0.5 degrees).

I'd like to import some of these maps into grass gis for further analysis. Thus 
some questions arise: 

*Which coordinate system do I have to select so that the data are displayed 
correctly?
* What is the best data format for the import? I think maybe Ascii? These files 
have a header like following:
ncols   720
nrows   360
xllcorner   -180.00
yllcorner   -90
cellsize   0.50
NODATA_value   -.00

Maybe you can help me with the import!

Thank you very much
Johannes
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Rainfall interpolation for a time series

2011-08-15 Thread Hanlie Pretorius
Hi Nick,

Thanks for the reply.

Did you do your comparison with a time series as well? If so, do you
perhaps have the start of a script that you would be willing to share?

Thanks
Hanlie



2011/8/15, Nick Jachowski :
> Hi Hanlie,
>
> I've this before with 11 gauge stations, also using TRMM data. You'll
> probably want to write a script and use r.mask to mask the interpolation map
> to your grid cell, then do r.sum on your masked area. After that just divide
> by the area to get the average rainfall. Given the small area and limited
> number of gauges this shouldn't take very long to compute for 2 years of
> data. You should be able to fairly easily output your desired time series to
> a text file.
>
> Best,
> Nick
>
> On Mon, Aug 15, 2011 at 3:00 PM, Hanlie Pretorius <
> hanlie.pretor...@gmail.com> wrote:
>
>> Hi,
>>
>> I have rainfall measurements from 6 gauges that I want to interpolate
>> to an areal value (a 'surface'), so that I can compare the the
>> interpolated gauge values to a satellite rainfall estimate that covers
>> a grid cell of 28kmx28km. Two of the gauges are outside, but close to
>> the border of the grid cell. Therefore, I also need to clip the
>> interpolated surface to the grid cell and to get the average of the
>> surface value in this clipped surface.
>>
>> A search on Google revealed that v.vol.rst is probably a good choice
>> for interpolating the rainfall because it takes elevation into
>> account.
>>
>> However, for each rain gauge I have 730 values representing a daily
>> measurement over two years. As output from GRASS, I need a text file
>> with the interpolated rainfall values for each day in my time series.
>> So, I was wondering if there is an 'easy' way to get my output without
>> creating 730 vectors and rasters?
>>
>> Regards
>> Hanlie
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Rainfall interpolation for a time series

2011-08-15 Thread Nick Jachowski
Hi Hanlie,

I've this before with 11 gauge stations, also using TRMM data. You'll
probably want to write a script and use r.mask to mask the interpolation map
to your grid cell, then do r.sum on your masked area. After that just divide
by the area to get the average rainfall. Given the small area and limited
number of gauges this shouldn't take very long to compute for 2 years of
data. You should be able to fairly easily output your desired time series to
a text file.

Best,
Nick

On Mon, Aug 15, 2011 at 3:00 PM, Hanlie Pretorius <
hanlie.pretor...@gmail.com> wrote:

> Hi,
>
> I have rainfall measurements from 6 gauges that I want to interpolate
> to an areal value (a 'surface'), so that I can compare the the
> interpolated gauge values to a satellite rainfall estimate that covers
> a grid cell of 28kmx28km. Two of the gauges are outside, but close to
> the border of the grid cell. Therefore, I also need to clip the
> interpolated surface to the grid cell and to get the average of the
> surface value in this clipped surface.
>
> A search on Google revealed that v.vol.rst is probably a good choice
> for interpolating the rainfall because it takes elevation into
> account.
>
> However, for each rain gauge I have 730 values representing a daily
> measurement over two years. As output from GRASS, I need a text file
> with the interpolated rainfall values for each day in my time series.
> So, I was wondering if there is an 'easy' way to get my output without
> creating 730 vectors and rasters?
>
> Regards
> Hanlie
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Rainfall interpolation for a time series

2011-08-15 Thread Hanlie Pretorius
Hi,

I have rainfall measurements from 6 gauges that I want to interpolate
to an areal value (a 'surface'), so that I can compare the the
interpolated gauge values to a satellite rainfall estimate that covers
a grid cell of 28kmx28km. Two of the gauges are outside, but close to
the border of the grid cell. Therefore, I also need to clip the
interpolated surface to the grid cell and to get the average of the
surface value in this clipped surface.

A search on Google revealed that v.vol.rst is probably a good choice
for interpolating the rainfall because it takes elevation into
account.

However, for each rain gauge I have 730 values representing a daily
measurement over two years. As output from GRASS, I need a text file
with the interpolated rainfall values for each day in my time series.
So, I was wondering if there is an 'easy' way to get my output without
creating 730 vectors and rasters?

Regards
Hanlie
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user