-
Notifications
You must be signed in to change notification settings - Fork 1
EnvironmentalLoadAdf
linaizhong edited this page Nov 13, 2014
·
1 revision
The layer-ingestion project contains a script named environmental_load_adf.sh which will load an environmental layer from raw .adf format. There are a number of variables defined at the top of the script that need to be modified for each new layer that is being loaded. These are:
- The layer id (numeric)
- The short name for the layer
- The display name of the layer
- The units used in the layer
- The path to the raw bil file for the layer
export LAYER_ID=666
export LAYER_SHORT_NAME="new_layer"
export LAYER_DISPLAY_NAME="description of new layer"
export UNITS="layer units"
export ADF_HEADER_FILE="/data/ala/data/layers/raw/newlayer/hdr.adf"
The environmental_load_adf.sh script does the following things
- Uses gdalwarp to convert adf to .bil format, reprojecting to WGS 84
- Uses the Bil2diva java tool (in source control in the layers-store project) to convert .bil to diva grid format
- Uses the GridLegend java tool (in source control in the layers-store project) to generate a .sld legend file for use in geoserver
- Uses gdal_translate to convert .bil into a geotiff file
- Uses the EnvironmentalDatabaseEntryCreator java tool (in source control in the layer-ingestion project) to create a minimal layers table entry and a fields table entry in the database for the layer
- Uses the EnvironmentalGeoserverLoader java tool to create the layer in geoserver (linked to the geotiff on disk), and define the style to use for the layer (using the .sld file that was generated earlier).
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