Skip to content

Configuring the Spatial Portal

vjrj edited this page Oct 14, 2019 · 7 revisions

Let's configure your spatial portal to change menu items, base layers, WMS servers.

  1. Configuration options
    1. Change default bounding box (see defaultareas in the config in /data/spatial-hub/config/spatial-hub-config.yml) -> see the default_areas section and specify your own coordinates. Then service tomcat7 restart. You can see the result by clicking on "Tools -> Add area report".
    2. Change the default base layer. (Copy-paste the outline block, and change name, url and layer name)
    3. Add your own WMS servers - (see presetWMSServers in the config in /data/spatial-hub/config/spatial-hub-config.yml) ![](/AtlasOfLivingAustralia/documentation/wiki/img/spatial-hub-config.png If your json request ends with a 401-Unauthorized error, add your server host to the allowproxy line in spatial-hub-config.yml:
allowProxy:
        server:"spatial.l-a.site;data.auscover.org.au;data.auscover.org.au:80;geoserver.imos.org.au;www.ga.gov.au/gis;geofabric.bom.gov.au"
  1. See the spatial-hub README.md for skinning options for the Spatial Portal.
Clone this wiki locally