Add a new information to the local repository

Functionality to manage the local repository are mainly those used to add a new product to the Geoserver Web Mapping Software. In the following of this paragraph a brief overview of the procedure to add a new product as a WMS service is shown, more information are available at the documentation site (http://docs.geoserver.org/stable/en/user/) of the Geoserver project (http://geoserver.org). The “Web Administration Tool” is a web based used to configure all aspects of GeoServer, from adding data to tweaking service settings. The web admin tool is accessed via web browser at http://<host>:<port>/geoserver. http://localhost:8080/geoserver/web in a default installation running on the local host (in case of the linker toolbox on the same host that is hosting the linker application).

Figure 5‑18: Geoserver Administration Tool

The procedure foresee to:

  • Login
  • Upload data on the Geoserver data directory
  • Create a new workspace
  • Add a new store (shapefile example)
  • Add a new layer (vector layer from the shapefile)
In order to change any server settings or configure data a user must first be authenticated. Navigate to the upper right hand corner to log into Geoserver. The default username and password is respectively admin and geoserver. These can be changed only by editing the security/users.properties file the Geoserver Data Directory as shown in http://docs.geoserver.org/stable/en/user/security/sec_roles.html. In order to upload new data on the Geoserver data directory, it is necessary to connect to the linker toolbox server using administrative tools and put data in the Geoserver data directory. In particular, as a shapefile is made of several files (commonly a .shp, .shx, .dbf, .prj), it is necessary to move all the files (or a folder containing them) into the <GEOSERVER_DATA_DIR>/data where GEOSERVER_DATA_DIR is the root of the Geoserver data directory. If no changes were were made to the Geoserver file structure, the path should be geoserver/data_dir/data/<files .shp .shx .dbf .prj>

Once the file has been uploaded in the data directory, it is possible to follow the Quick Start guide of Geoserver available at http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html. It is not the scope of this manual to provide a guide for the configuration of Geoserver as the project as a very well done documentation; of course during the training session of linker for the NFP users, a dedicated session will be dedicated to the training of NFP administration of Geoserver. In future releases of the linker Toolbox, automatic tools for the Geoserver data loading (once ERS core services will be made available) will be implemented on the basis of user feedbacks.

After having added the new layer, it is possible to add it to the search and view interface using the Add Server functionality (Figure 3-7).

Go back to User Manual Table of Contents

0 Attachments 0 Attachments
404 Views