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).
- ncWMS web map server
- GoGoDuck netCDF subsetting and aggregation service
You can view the portal in action at IMOS, which always runs the latest version of the code.
Please post any questions in our forum.
- 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
If you want to build from source you will need to have Grails 2.4.4 installed on your build machine.
The recommended way of installing grails is by using gvm:
$ curl -s get.gvmtool.net | bash
$ source $HOME/.gvm/bin/gvm-init.sh
$ gvm 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.
Feel free to ignore the pom.xml, this is an old artifact from when we used Maven as our build tool. We now use the Grails tooling directly to build our artifacts. We have a dependency on Maven to launch our Jasmine, we are in the process of removing that dependency, you can help with that too
Yes, you can download it from our Jenkins server.
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 goenetwork
- Your CSS for branding and styling
- Trusted servers
Define the location of the configuration file by setting an environment context variable named aodn.configuration
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 portal.groovy
You can clone an example here and modify as required.
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.
-- The IMOS Portal is used to publish the IMOS data collection.