Mercurial > gemma
changeset 610:f62ee9d5bff1
Document adding of layers to internal OGC services.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 10 Sep 2018 17:01:24 +0200 |
parents | 6dc1b586328e |
children | effd22c0ae5a |
files | README.md |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Mon Sep 10 16:20:32 2018 +0200 +++ b/README.md Mon Sep 10 17:01:24 2018 +0200 @@ -28,6 +28,23 @@ By convention this is the "postgres" on most systems. +## Setup GeoServer + +- Install and run GeoServer as described here: + http://docs.geoserver.org/stable/en/user/installation/ + +- Add tables you want to publish as OGC-Service Layers via GeoServer in + the database. For example publish the bottleneck areas: + ``` + INSERT INTO sys_admin.published_services (name, as_wfs) VALUES + ('waterway.bottlenecks', true); + ``` + In case your gemma is already running (see next section), restart it. + Published WFS services will be available at `/api/internal/wfs`. Currently, + the same layers will also be available as WMS services at + `/api/internal/wms`, regardless of the value of `as_wms` in + `sys_admin.published_services`. + ## Running gemma - Best is to create a configuration file. Copy the example from