AODN Open Geospatial Portal
The AODN open geospatial portal is a Grails application for discovering, subsetting, and downloading geospatial data.
The application is a stateless front end to other servers:
- GeoNetwork metadata catalog
- GeoServer data server (WMS and WFS and our WPS subsetting and aggregation services
- THREDDS Gridded (ncWMS files) data server with embedded ncWMS (http://www.resc.rdg.ac.uk/trac/ncWMS/) web map server
You can view the portal in action at AODN Portal, which always runs the latest version of the code.
- Easy 1-2-3 workflow (1.Search, 2.Subset, 3.Download)
- Faceted search for easy discovery of data collections
- Visualise subsetting results before download via WMS
- Download data from a variety of web services (eg. WFS)
- Configurable themes and splash page
Getting Your Hands on Portal
Building From Source
If you want to build from source you will need to have Grails 2.4.4 and JDK 1.7 installed on your build machine.
The recommended way of installing grails is by using SdkMan:
$ curl -s http://get.sdkman.io | bash $ source $HOME/.sdkman/bin/sdkman-init.sh $ sdk use grails 2.4.4
Once you have the source it should be as simple as
$ grails war in the root folder where you have checked out portal
then deploy the war to your application server.
Can I Get A Pre-Built War?
Yes, you can download it from our public binaries repo.
The AODN Portal has been tested with Tomcat. All you need to do is deploy the WAR and add a configuration file that tells the portal:
- Where to find GeoNetwork
- Your CSS for branding and styling
- Trusted servers
Define the location of the configuration file by setting an environment context variable named
One way to do this is by adding a file called <context>.xml in the
$CATALINA_BASE/conf/[enginename]/[hostname]/ directory. Where <context> matches the context of the deployed WAR (eg. "aodn-portal-3.42.1-production.xml"). Set the variable by adding the following line to the file:
<Environment name="aodn.configuration" value="<path to file>/Portal.groovy" type="java.lang.String" override="true"/>
Then add the file called
You can clone an example here and modify as required.
Getting Started (How Do I Drive This Thing?)
Read the Getting Started guide on the wiki
We welcome contributions so please feel free to fork the project, address any issues or add features and submit a pull request.