Pandora: Documentation en: GeoServer Installation

From Pandora FMS Wiki
Jump to: navigation, search

1 Geoserver installation for its use with Pandora FMS

This documentation has been tested with GeoServer version 2.13.0.

Template warning.png

This guide is designed to provide a minimal test environment. To set up a production environment, review the GeoServer documentation.

 


1.1 Start

Info.png

GeoServer is an application written in Java, so a JRE v8 is required to run it. It can also be launched using a Java application server such as Tomcat.

 


Run ./bin/startup.sh in the root of the GeoServer directory.

After starting the server, you will be able to access the web console configuration from http://localhost:8080/geoserver with the admin user and the password geoserver.

1.2 Adding your own maps

In the welcome screen, there are 3 options that will be necessary to add your own maps:

  • Adding workspaces
  • Adding stores
  • Adding layers

1.2.1 Adding a workspace

Here it is necessary only to enter a name (with no spaces) under which the work stores and layers are to be found later. In the URI field, anything can be entered.

New-workspace-geoserver.png

1.2.2 Adding stores

First, choose the type of data, which will depend on the file to be used. Depending on the type, more options may appear, but the most basic is to choose the previously created workspace, assign a name to this store, and add the file path.

New-Datasource-Geoserver.png

1.2.3 Adding layers

Once the store is created, a layer must be published to expose the file through the service. After selecting the store previously created, access a form with information about the layer. The first step is to enter the name of the layer. Next, enter the coordinate reference system, which varies depending on the file you wish to publish. Finally, the layer frame must be added. The values of the frame can be retrieved from the used file (Compute from data) or from the chosen coordinate reference system (Computo from SRS bounds).

Coordinates-geoserver.png


After adding the layer successfully, create a connection in the Pandora FMS GIS maps. To that end, use the identifier of the new added layer.

New-Layer-Geoserver.png


To add new map files, repeat the same steps from data store and adding new layer.