Skip to content

gwalbran/aodn-portal

 
 

Repository files navigation

AODN Open Geospatial Portal

Build Status

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:

You can view the portal in action at AODN Portal, which always runs the latest version of the code.

Contact

info@aodn.org.au or see https://help.aodn.org.au/ .

Features

  • 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.

Installation

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 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.

Getting Started (How Do I Drive This Thing?)

Read the Getting Started guide on the wiki

Contributing

We welcome contributions so please feel free to fork the project, address any issues or add features and submit a pull request.

Packages

 
 
 

Languages

  • JavaScript 86.5%
  • HTML 8.0%
  • CSS 4.2%
  • Groovy 1.0%
  • Java 0.3%
  • Ruby 0.0%