Sign inSign up

geogirafe/viewer

By geogirafe

Updated 1 day ago

Simple viewer to explore web maps and geographical data.

Image
0

10K+

geogirafe/viewer repository overview

GeoGirafe

GeoGirafe is an flexible application to build online geoportals.
The source code and documentation for this image can be found on the following GitLab Repository: https://gitlab.com/geogirafe/gg-viewer
A demo instance of GeoGirafe can be tested here: https://demo.geomapfish.dev.

Getting Started

Get the image
docker pull geogirafe/viewer
Configure the application

The complete configuration of the application is done in one file: config.json.
First, extract this file from the image with the following commands:

ggid=$(docker create geogirafe/viewer)
docker cp $ggid:/var/www/localhost/htdocs/config.json .
docker rm $ggid

Then, configure your file with your own values.
Today, the GeoGirafe Viewer is using a backend based on GeoMapFish.
The services you will have to use in your configuration must be compliant with GeoMapFish.

Please note that the CORS Headers must also be configured in your GeoMapFish instance.
If I am not mistaken, this can be done in the authorized_refererssection in the vars.yamlfile.
Please referer to the GeoMapFish documentation for further information.

Start a new container

Lastly, you can run the GeoGirafe Viewer with your custom settings with the following command:

docker run -d --rm --name gg-viewer -p 8080:80 -p 8443:443 -v $PWD/config.json:/var/www/localhost/htdocs/config.json geogirafe/viewer
Use the application

Your GeoGirafe instance is available at http://localhost:8080, or with SSL at https://localhost:8443

More options

If you want more configuration options, please refer to the following documentations:

Tag summary

Content type

Image

Digest

sha256:0c65400c4

Size

22.3 MB

Last updated

1 day ago

docker pull geogirafe/viewer