An open API service indexing awesome lists of open source software.

https://github.com/ianturton/tablejoin

A WPS Process to execute a table join between two GeoServer layers or datasets.
https://github.com/ianturton/tablejoin

geoserver process tablejoinservice tjs wps

Last synced: 7 months ago
JSON representation

A WPS Process to execute a table join between two GeoServer layers or datasets.

Awesome Lists containing this project

README

          

# Table Join Process

A WPS Process to execute a table join between two GeoServer layers or datasets.

## Building

Set the required versions of GeoTools and GeoServer in the `pom.xml` file and then

mvn clean install
mvn assembly:single

will generate a zip file called `target/tablejoin-0.0.1-SNAPSHOT-bin.zip` which can be unpacked into the GeoServer `WEB-INF/lib` directory.

## Usage

You can specify the input data sets by reference or by explict listing in the request. You must also provide a filter that is the
equivalent of an SQL where clause. It should provide a filter which is true when you want a row joined to another, if multiple
rows match the first one found will be used. If there is no match then the row will be omitted from the output.

Try a simple join with an XML file like this, it will join the provided CSV data with the USA States Layer using the filter
`"STATE_NAME" = "State"` as the join:


TableJoin:simpleJoinTables


target









source





joinfilter

"STATE_NAME" = "State"





result