Skip to content

ADAGUC WMS Viewer - ADAGUC is a geographical information system to visualize netCDF files via the web. The software consists of a server side C++ application and a client side JavaScript application. The software provides several features to access and visualize data over the web, it uses OGC standards for data dissemination.

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

adaguc-viewer

ADAGUC WMS Viewer for visualizing OGC Web Map Services.

ADAGUC is a geographical information system to visualize netCDF files via the web. The software consists of a server side C++ application and a client side JavaScript application. The software provides several features to access and visualize data over the web, it uses OGC standards for data dissemination.

Connect adaguc-viewer to adaguc-server

This viewer is best used with adaguc-server and adaguc-services, please check https://github.com/KNMI/adaguc-server . It can browse and visualize NetCDF automatically.

Quickstart adaguc-viewer with Docker

There is a docker image available from openearth/adaguc-viewer. It can be used to install and run adaguc-viewer in minutes.

Follow these steps to get your own adaguc-viewer working:

docker pull openearth/adaguc-viewer
docker run -e ADAGUCSERVICES_AUTOWMS="http://localhost:8090/adaguc-services/autowms?" -p 8091:80 --name my-adaguc-viewer -d openearth/adaguc-viewer

Or use the following if you have started your adaguc-server with HTTPS:

docker run -e ADAGUCSERVICES_AUTOWMS="https://`hostname`:8443/adaguc-services/autowms?" -p 8091:80 --name my-adaguc-viewer -d openearth/adaguc-viewer

Visit http://localhost:8091/adaguc-viewer/

alt text

Done!

Adding the EProfile app to the adaguc-viewer docker

If you want to add the EProfile app to adaguc-viewer running in your Docker container, you should update your config file. This can be done via the following steps:

Docker exec into your adaguc-viewer container:

docker exec -it adaguc-viewer /bin/bash

Install vim such that you can edit the config file:

apt-get update
apt-get install vim

Open the config file in vim:

vim adaguc-viewer/config.js

Edit config.js by adding the following entry to the getFeatureInfoApplications array: , {name:'EProfile', iconCls:'button_getfeatureinfo', location:'apps/gfiapp_eprofile.html'}

The resulting getFeatureInfoApplications array looks for example like this:

var getFeatureInfoApplications = [
 {name:'Time series mode',iconCls:'button_getfeatureinfo',location:'apps/gfiapp_d3c3.html'}
 ,{name:'EProfile', iconCls:'button_getfeatureinfo', location:'apps/gfiapp_eprofile.html'}    
 //,{name:'Glameps application',iconCls:'button_getfeatureinfo',location:'../gfiapps/GLAMEPS_gfiapp.html'}
];

If you then visit adaguc-viewer in your browser, you will have the EProfile app available in the cogwheel menu.

About

ADAGUC WMS Viewer - ADAGUC is a geographical information system to visualize netCDF files via the web. The software consists of a server side C++ application and a client side JavaScript application. The software provides several features to access and visualize data over the web, it uses OGC standards for data dissemination.

Resources

Packages

No packages published
You can’t perform that action at this time.