Chapter 4. Geoprocessing

In this chapter, we will cover the following recipes:

  • Installing the WPS module
  • Using the WPS process builder
  • Chaining process – selecting features contained in a polygon
  • Chaining process – building your own task

Introduction

Apart from requesting map and data, GeoServer has another great feature: it can be used as a geoprocessing server. Geoprocessing lets the user perform operations on data, transform them, and also produce new datasets. The general concept is that the user creates a task by selecting the input data and operations to be performed on them.

Geoprocessing is a traditional concept in desktop GIS; in fact, this type of software is created to process spatial data. Later, geoprocessing was migrated to the server side; there are now several ways a user can ask a server to process a task on data. As with producing maps and delivering data, GeoServer implements geoprocessing referring to a standard, the WPS standard defined by OGC.

The OpenGIS® Web Processing Service (WPS) interface standard provides rules to standardize how inputs and outputs (requests and responses) for geospatial processing services, such as polygon overlay. The WPS standard also defines how a client can request the execution of a process and how the output from the process is handled. WPS defines an interface that facilitates the publishing of geospatial processes and clients' discovery and binding to those processes. The data required by the WPS can be delivered across a network or they can be referenced to data already available on the server.

Tip

WPS is a rather detailed standard. If you are curious about it and want to learn more, have a look at the official documentation:

http://www.opengeospatial.org/standards/wps

In practice, WPS is similar to Simple Object Access Protocol (SOAP) or XML Remote Procedure Call (XMLRPC). The key benefit of WPS is the ability to respect spatial data types such as GML and handle the large data volumes associated with spatial data.

Refer to the 1.0.0 release, which is the current standard and the version supported by GeoServer.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.85.135