diff artifacts/src/main/java/org/dive4elements/river/utils/MapfileGenerator.java @ 9738:afad1fac70fb 3.2.x

Cleanup mapfile templating a bit _ Update names and titles _ Skip wms_onlineresource because it's set automatically _ Contact information is optional according to WMS specification
author Tom Gottfried <tom@intevation.de>
date Mon, 25 Jul 2022 16:21:34 +0200
parents 0a5239a1e46e
children 308a0d822d18
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/MapfileGenerator.java	Mon Jul 25 12:31:08 2022 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/utils/MapfileGenerator.java	Mon Jul 25 16:21:34 2022 +0200
@@ -132,14 +132,10 @@
 
     protected abstract String getMapserverTemplatePath();
 
-    public abstract String getMapserverUrl();
-
     protected VelocityContext getVelocityContext() {
         VelocityContext context = new VelocityContext();
 
         try {
-            context.put("MAPSERVERURL",
-                getMapserverUrl());
             context.put("SHAPEFILEPATH",
                 getShapefileBaseDir().getCanonicalPath());
             context.put("CONFIGDIR",

http://dive4elements.wald.intevation.org