-
Notifications
You must be signed in to change notification settings - Fork 1
GeonetworkAndAnzmet
Geonetwork is a web application used to store metadata records for datasets that do not have official metadata records elsewhere.
Geonetwork is installed on both the development and production servers at /usr/local/geonetwork. It can be started and stopped using the start-geonetwork.sh and stop-geonetwork.sh scripts in the bin directory.
The development instance of geonetwork can be accessed at http://spatial-dev.ala.org.au/geonetwork. The production instance can be accessed at http://spatial.ala.org.au/geonetwork.
Metadata records are loaded into geonetwork via xml files created using ANZMet lite (see below). Follow the following process to load records into geonetwork. This process must be carried out on both the development and production servers.
- Copy the metadata record xml files to a directory on the server (development or production)
- Browse to the appropriate instance of geonetwork (see the urls listed above)
- Log in as admin
- Select "administration" from the top menu bar
- In the popup window, select "Batch Import"
- In the "directory" textbox, enter the absolute path to the directory where the metadata xml files were copied to. Select an appropriate category for the xml records.
- Hit the upload button.
The "metadatapath" value for a layer in the layers table in the database can point to a geonetwork metadata record. To reference a geonetwork metadata record you will need its uuid. The uuid can be obtained from the xml file for the metadata record. Open it up and locate the "file identifier" towards the top, it will look something like this:
<gmd:fileIdentifier>
<gco:CharacterString>D070922C-6805-4C2A-9705-34B026249DF5</gco:CharacterString>
</gmd:fileIdentifier>
The uuid is D070922C-6805-4C2A-9705-34B026249DF5. To link to the metadata record from the layers table, set the metadatapath to the following:
<COMMON_GEONETWORK_URL>/srv/en/metadata.show?uuid=D070922C-6805-4C2A-9705-34B026249DF5
<COMMON_GEONETWORK_URL> is a special string that will insert the appropriate path to the appropriate geonetwork instance, depending on whether the layers service is running on the development or production server. Using this special string prevents you from having to modify database entries when migrating them from development to production.
ANZMet lite is an application that can be used to create metadata records from importation into geonetwork. A custom version has been development to support some extra metadata fields required by the ala. A windows installer for this custom version is located at http://spatial.ala.org.au/files/ANZMetLiteSetup.msi.
The application has a wizard format and is fairly self-explanatory.
Documentation
- Getting started
- ALA Spatial Portal
- Introduction
- ALA Spatial Portal UI
- ALA Spatial Analysis Service
- ALA Spatial Layers Service
- ALA Spatial Actions
- Production Environment
- Testing Sequence
- System documentation
- webportal
- alaspatial
- layers-service
- layers-store
- local file
- layers database
- geoserver
- Geonetwork and ANZMET Lite
Additional Technical Information