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.
- Host: GitHub
- URL: https://github.com/ianturton/tablejoin
- Owner: ianturton
- License: gpl-3.0
- Created: 2019-03-07T16:39:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-07T17:40:32.000Z (over 6 years ago)
- Last Synced: 2025-01-30T20:52:15.139Z (8 months ago)
- Topics: geoserver, process, tablejoinservice, tjs, wps
- Language: Java
- Size: 21.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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