72
WPS ZOO-project ZOO & GRASS ZOO WPS the integration with GRASS GIS Luca Delucchi Fondazione Edmund Mach - GIS & Remote Sensing Platform Geoinformatics FCE CTU 2011 20 May 2011, Praha ( ˇ Cesk´ a republika) Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

ZOO WPS the integration with GRASS GIS

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

ZOO WPS the integration with GRASS GIS

Luca Delucchi

Fondazione Edmund Mach - GIS & Remote Sensing Platform

Geoinformatics FCE CTU 201120 May 2011, Praha (Ceska republika)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 2: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: introduction

What is Web Processing Service (WPS)?

OGC standard

useful to create web services for invoking geospatialprocessing

the last version is 1.0.0 (2007)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 3: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: introduction

What is Web Processing Service (WPS)?

OGC standard

useful to create web services for invoking geospatialprocessing

the last version is 1.0.0 (2007)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 4: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: introduction

What is Web Processing Service (WPS)?

OGC standard

useful to create web services for invoking geospatialprocessing

the last version is 1.0.0 (2007)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 5: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: introduction

What is Web Processing Service (WPS)?

OGC standard

useful to create web services for invoking geospatialprocessing

the last version is 1.0.0 (2007)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 6: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requests

There are three requests to work with WPS

GetCapabilities: return description and metadata about theWPS server

DescribeService: return description and metadata about asingle service

Execute: run the process and return the output of a service

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 7: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requests

There are three requests to work with WPS

GetCapabilities: return description and metadata about theWPS server

DescribeService: return description and metadata about asingle service

Execute: run the process and return the output of a service

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 8: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requests

There are three requests to work with WPS

GetCapabilities: return description and metadata about theWPS server

DescribeService: return description and metadata about asingle service

Execute: run the process and return the output of a service

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 9: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requests

There are three requests to work with WPS

GetCapabilities: return description and metadata about theWPS server

DescribeService: return description and metadata about asingle service

Execute: run the process and return the output of a service

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 10: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsGetCapabilities

GetCapabilities parameters

service = WPS

version = 1.0.0

request = GetCapabilities

http://srvcarto.fmach.it/zoo/?request=getcapabilities&version=

1.0.0&service=wps

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 11: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsGetCapabilities

GetCapabilities parameters

service = WPS

version = 1.0.0

request = GetCapabilities

http://srvcarto.fmach.it/zoo/?request=getcapabilities&version=

1.0.0&service=wps

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 12: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsDescribeProcess

DescribeProcess parameters

service = WPS

version = 1.0.0

request = DescribeProcess

identifier = v random

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=describeprocess&identifier=v_random

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 13: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsDescribeProcess

DescribeProcess parameters

service = WPS

version = 1.0.0

request = DescribeProcess

identifier = v random

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=describeprocess&identifier=v_random

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 14: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

ResponseDocument =output

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&ResponseDocument=output

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 15: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

ResponseDocument =output

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&ResponseDocument=output

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 16: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

ResponseDocument =output@asReference=true

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&ResponseDocument=output@asReference=true

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 17: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

ResponseDocument =output@asReference=true

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&ResponseDocument=output@asReference=true

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 18: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

RawDataOutput = output

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&RawDataOutput=output

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 19: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionRequests

WPS: requestsExecute

Execute parameters

service = WPS

version = 1.0.0

request = Execute

identifier = v random

DataInputs = n=10

RawDataOutput = output

http://srvcarto.fmach.it/zoo/?service=wps&version=1.0.

0&request=execute&identifier=v_random&DataInputs=n=

10&RawDataOutput=output

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 20: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO introduction

Free and Open Source WPS server, released under a MIT/X-11style license

ZOO is made of three parts:Kernel Services API

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 21: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO introduction

Free and Open Source WPS server, released under a MIT/X-11style license

ZOO is made of three parts:

Kernel Services API

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 22: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO introduction

Free and Open Source WPS server, released under a MIT/X-11style license

ZOO is made of three parts:Kernel

Services API

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 23: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO introduction

Free and Open Source WPS server, released under a MIT/X-11style license

ZOO is made of three parts:Kernel Services

API

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 24: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO introduction

Free and Open Source WPS server, released under a MIT/X-11style license

ZOO is made of three parts:Kernel Services API

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 25: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 26: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 27: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 28: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 29: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 30: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Kernel

The ZOO Kernel:

is the heart of the ZOO WPS server

is written in C language

manage and chain Web services

support several common programming languages

works with Apache through a cgi file and a conf file

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 31: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services:

are the several processes that work with the Kernel

are based on various existing libraries, like GDAL/OGR, butnot only geographic (demos with OoO and QR)

are writable in C/C++, Fortran, Java, Javascript, Perl, PHP,Python

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 32: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services:

are the several processes that work with the Kernel

are based on various existing libraries, like GDAL/OGR, butnot only geographic (demos with OoO and QR)

are writable in C/C++, Fortran, Java, Javascript, Perl, PHP,Python

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 33: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services:

are the several processes that work with the Kernel

are based on various existing libraries, like GDAL/OGR, butnot only geographic (demos with OoO and QR)

are writable in C/C++, Fortran, Java, Javascript, Perl, PHP,Python

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 34: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services:

are the several processes that work with the Kernel

are based on various existing libraries, like GDAL/OGR, butnot only geographic (demos with OoO and QR)

are writable in C/C++, Fortran, Java, Javascript, Perl, PHP,Python

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 35: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services are composed by two part:

a configuration file to describe the Service, this is a zcfg file

the code you want use for your Service

“The only limit is your imagination” (Nicolo Rigacci

2008)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 36: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services are composed by two part:

a configuration file to describe the Service, this is a zcfg file

the code you want use for your Service

“The only limit is your imagination” (Nicolo Rigacci

2008)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 37: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services are composed by two part:

a configuration file to describe the Service, this is a zcfg file

the code you want use for your Service

“The only limit is your imagination” (Nicolo Rigacci

2008)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 38: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO Services

The ZOO Services are composed by two part:

a configuration file to describe the Service, this is a zcfg file

the code you want use for your Service

“The only limit is your imagination” (Nicolo Rigacci

2008)

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 39: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO API

The ZOO API is:

Javascript library designed to make the WPS Process creationand chaining easier and call it like other services

server-side using the Mozilla foundation JavaScript engine,SpiderMonkey

Proj4js adaptation for server-side reprojection

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 40: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO API

The ZOO API is:

Javascript library designed to make the WPS Process creationand chaining easier and call it like other services

server-side using the Mozilla foundation JavaScript engine,SpiderMonkey

Proj4js adaptation for server-side reprojection

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 41: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO API

The ZOO API is:

Javascript library designed to make the WPS Process creationand chaining easier and call it like other services

server-side using the Mozilla foundation JavaScript engine,SpiderMonkey

Proj4js adaptation for server-side reprojection

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 42: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

IntroductionKernelServices

ZOO API

The ZOO API is:

Javascript library designed to make the WPS Process creationand chaining easier and call it like other services

server-side using the Mozilla foundation JavaScript engine,SpiderMonkey

Proj4js adaptation for server-side reprojection

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 43: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: dependences

To work with ZOO and GRASS there are some dependences tosatisfy:

ZOO (better from svn)

GRASS GIS version 7

wps-grass-bridge

pyXB 1.1.2

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 44: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: dependences

To work with ZOO and GRASS there are some dependences tosatisfy:

ZOO (better from svn)

GRASS GIS version 7

wps-grass-bridge

pyXB 1.1.2

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 45: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: dependences

To work with ZOO and GRASS there are some dependences tosatisfy:

ZOO (better from svn)

GRASS GIS version 7

wps-grass-bridge

pyXB 1.1.2

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 46: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: dependences

To work with ZOO and GRASS there are some dependences tosatisfy:

ZOO (better from svn)

GRASS GIS version 7

wps-grass-bridge

pyXB 1.1.2

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 47: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: dependences

To work with ZOO and GRASS there are some dependences tosatisfy:

ZOO (better from svn)

GRASS GIS version 7

wps-grass-bridge

pyXB 1.1.2

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 48: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 49: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 50: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 51: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your setting

copy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 52: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgi

in zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 53: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 54: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: installation

To install:

compile, install and test ZOO, GRASS and pyXB

move into wps-grass-bridge directory and:

modify GlobalGrassSettings.py with your settingcopy GlobalGrassSettings.py, ZOOGrassModuleStarter.py andgms folder in the path where Apache cgi scripts run and whereyou put zoo loader.cgiin zoo services folder you find some modules already working,copy the processes that you want use in the path where youcopied the other files

Now you are ready to test the processes!

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 55: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: some suggestion

activate rewrite.load modules of Apache

modify /etc/apache2/sites-available/default files like

<D i r e c t o r y / va r /www/zoo>Opt ions I n d e x e s Fo l lowSymLinks Mul t iV i ewsA l l owOve r r i d e A l lOrder a l l ow , denya l l ow from a l l

</D i r e c t o r y>

create a directory (for example zoo) in the Apache folder andput inside a .htaccess file like this

Rewr i t eEng ine onRewriteCond %{REQUEST FILENAME} !− fRewr iteCond %{REQUEST FILENAME} !−dRewr i t eRu l e ( .∗ ) / ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath= [ L ,QSA]Rewr i t eRu l e ( .∗ ) / cg i−b in / z o o l o a d e r . c g i [ L ,QSA]

create a directory for temporary files (recommend tmp) in theApache folder, not inside the folder create before

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 56: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: some suggestion

activate rewrite.load modules of Apache

modify /etc/apache2/sites-available/default files like

<D i r e c t o r y / va r /www/zoo>Opt ions I n d e x e s Fo l lowSymLinks Mul t iV i ewsA l l owOve r r i d e A l lOrder a l l ow , denya l l ow from a l l

</D i r e c t o r y>

create a directory (for example zoo) in the Apache folder andput inside a .htaccess file like this

Rewr i t eEng ine onRewriteCond %{REQUEST FILENAME} !− fRewr iteCond %{REQUEST FILENAME} !−dRewr i t eRu l e ( .∗ ) / ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath= [ L ,QSA]Rewr i t eRu l e ( .∗ ) / cg i−b in / z o o l o a d e r . c g i [ L ,QSA]

create a directory for temporary files (recommend tmp) in theApache folder, not inside the folder create before

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 57: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: some suggestion

activate rewrite.load modules of Apache

modify /etc/apache2/sites-available/default files like

<D i r e c t o r y / va r /www/zoo>Opt ions I n d e x e s Fo l lowSymLinks Mul t iV i ewsA l l owOve r r i d e A l lOrder a l l ow , denya l l ow from a l l

</D i r e c t o r y>

create a directory (for example zoo) in the Apache folder andput inside a .htaccess file like this

Rewr i t eEng ine onRewriteCond %{REQUEST FILENAME} !− fRewr iteCond %{REQUEST FILENAME} !−dRewr i t eRu l e ( .∗ ) / ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath= [ L ,QSA]Rewr i t eRu l e ( .∗ ) / cg i−b in / z o o l o a d e r . c g i [ L ,QSA]

create a directory for temporary files (recommend tmp) in theApache folder, not inside the folder create before

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 58: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: some suggestion

activate rewrite.load modules of Apache

modify /etc/apache2/sites-available/default files like

<D i r e c t o r y / va r /www/zoo>Opt ions I n d e x e s Fo l lowSymLinks Mul t iV i ewsA l l owOve r r i d e A l lOrder a l l ow , denya l l ow from a l l

</D i r e c t o r y>

create a directory (for example zoo) in the Apache folder andput inside a .htaccess file like this

Rewr i t eEng ine onRewriteCond %{REQUEST FILENAME} !− fRewr iteCond %{REQUEST FILENAME} !−dRewr i t eRu l e ( .∗ ) / ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / / cg i−b in / z o o l o a d e r . c g i ?metapath=$1 [ L ,QSA]Rewr i t eRu l e ( .∗ ) / ( .∗ ) / cg i−b in / z o o l o a d e r . c g i ?metapath= [ L ,QSA]Rewr i t eRu l e ( .∗ ) / cg i−b in / z o o l o a d e r . c g i [ L ,QSA]

create a directory for temporary files (recommend tmp) in theApache folder, not inside the folder create before

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 59: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: testing

To test you can try:

to copy v report.* and use the link show before changing theserver (if you are on your pc maybe it’s localhost)

to copy other services and use the requests show beforechanging the right parameters (server, identifier name andexecute parameters)

using the WPS client plugin of QGIS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 60: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: testing

To test you can try:

to copy v report.* and use the link show before changing theserver (if you are on your pc maybe it’s localhost)

to copy other services and use the requests show beforechanging the right parameters (server, identifier name andexecute parameters)

using the WPS client plugin of QGIS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 61: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: testing

To test you can try:

to copy v report.* and use the link show before changing theserver (if you are on your pc maybe it’s localhost)

to copy other services and use the requests show beforechanging the right parameters (server, identifier name andexecute parameters)

using the WPS client plugin of QGIS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 62: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: testing

To test you can try:

to copy v report.* and use the link show before changing theserver (if you are on your pc maybe it’s localhost)

to copy other services and use the requests show beforechanging the right parameters (server, identifier name andexecute parameters)

using the WPS client plugin of QGIS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 63: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: link

http://www.zoo-project.org/site/ZooDocumentation

http://zoo-project.org/trac/wiki/ZooWebSite/QGIS_

WPS_Client

http://code.google.com/p/wps-grass-bridge/wiki/

ZOO_WPS_Integration

http://grass.osgeo.org/wiki/WPS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 64: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: link

http://www.zoo-project.org/site/ZooDocumentation

http://zoo-project.org/trac/wiki/ZooWebSite/QGIS_

WPS_Client

http://code.google.com/p/wps-grass-bridge/wiki/

ZOO_WPS_Integration

http://grass.osgeo.org/wiki/WPS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 65: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: link

http://www.zoo-project.org/site/ZooDocumentation

http://zoo-project.org/trac/wiki/ZooWebSite/QGIS_

WPS_Client

http://code.google.com/p/wps-grass-bridge/wiki/

ZOO_WPS_Integration

http://grass.osgeo.org/wiki/WPS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 66: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

InstallTestingInteresting link

ZOO & GRASS: link

http://www.zoo-project.org/site/ZooDocumentation

http://zoo-project.org/trac/wiki/ZooWebSite/QGIS_

WPS_Client

http://code.google.com/p/wps-grass-bridge/wiki/

ZOO_WPS_Integration

http://grass.osgeo.org/wiki/WPS

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 67: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

WPS: final considerations

WPS is very useful for the web processes. . .

. . . is being increasingly used. . .

. . . but maybe it’s not the best solution for interface librarywith desktop software

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 68: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

WPS: final considerations

WPS is very useful for the web processes. . .

. . . is being increasingly used. . .

. . . but maybe it’s not the best solution for interface librarywith desktop software

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 69: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

WPS: final considerations

WPS is very useful for the web processes. . .

. . . is being increasingly used. . .

. . . but maybe it’s not the best solution for interface librarywith desktop software

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 70: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

Thanks to

Nicolas Bozon, Gerald Fenoy, Markus Neteler, Soeren Gebbert,Venkatesh Raghavan. . .

. . . and all GRASS and ZOO community

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 71: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

Thanks to

Nicolas Bozon, Gerald Fenoy, Markus Neteler, Soeren Gebbert,Venkatesh Raghavan. . .

. . . and all GRASS and ZOO community

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha

Page 72: ZOO WPS the integration with GRASS GIS

WPSZOO-project

ZOO & GRASS

This presentation is released under cc-by-sa license

Luca Delucchi Geoinformatics FCE CTU, 20 May 2011, Praha