Enhydris-medsalgis provides layers (such as water basins and river networks) for the Medsal project. In the repository there's also MapServer configuration for serving these layers with WMS and WFS.
The app is specific to the Medsal project and several things are hardwired in the code.
Install Enhydris 4 or later
Make sure
enhydris_medsalgis
is in the PYTHONPATH, or link to it from the top-level directory of Enhydris.In the Enhydris
enhydris_project/settings/local.py
file, addenhydris_medsalgis
toINSTALLED_APPS
, addenhydris_medsalgis.middleware.MedsalGISMiddleware
toMIDDLEWARE
, and specify the mapserver root url inENHYDRIS_OWS_URL
.ENHYDRIS_OWS_URL
must end in a slash; it does not include the filenamemedsalgis.map
, which is hardwired and appended toENHYDRIS_OWS_URL
automatically. In fact, the current language may also be inserted, so that the resulting URL may be something likeENHYDRIS_OWS_URL/el/medsalgis.map
(butENHYDRIS_OWS_URL/medsalgis.map
also works; it is the default "unlocalized"—actually English—URL).Start MapServer and access these layers.
Enhydris-medsalgis is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
The software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the licenses for more details.
You should have received a copy of the license along with this program. If not, see http://www.gnu.org/licenses/.