diff flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm @ 4841:ad0990a82ab8

Insert db connection into riveraxis map files. * Added new MapUtils. * Moved connection specific strings to maputils. * Updated mapfile template.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Jan 2013 17:32:30 +0100
parents 8062b571884d
children c0eca1287e0e
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm	Wed Jan 23 13:20:39 2013 +0100
+++ b/flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm	Wed Jan 23 17:32:30 2013 +0100
@@ -2,7 +2,8 @@
     NAME "$LAYER.getName()"
     TYPE $LAYER.getType()
 
-    INCLUDE "conf/dbconnection.include"
+    CONNECTIONTYPE $LAYER.getConnectionType()
+    CONNECTION "$LAYER.getConnection()"
 
     DATA    "$LAYER.getData()"
     FILTER  "$LAYER.getFilter()"
@@ -51,4 +52,4 @@
             
         END
    #end
-END
\ No newline at end of file
+END

http://dive4elements.wald.intevation.org