diff artifacts/doc/conf/mapserver/barrier_polygons_class.vm @ 6832:4b7944c37c4f

(issue657) Use regular expressions in Mapfile templates to catch various spellings of feature class types.
author Christian Lins <christian.lins@intevation.de>
date Thu, 15 Aug 2013 13:30:16 +0200
parents 8c7433b8656d
children
line wrap: on
line diff
--- a/artifacts/doc/conf/mapserver/barrier_polygons_class.vm	Wed Aug 14 16:50:35 2013 +0200
+++ b/artifacts/doc/conf/mapserver/barrier_polygons_class.vm	Thu Aug 15 13:30:16 2013 +0200
@@ -1,6 +1,6 @@
 CLASS
     NAME "Ringdeich"
-    EXPRESSION ("[TYP]"="Ringdeich")
+    EXPRESSION /ringdeich/i
     STYLE
         SIZE 5
         OUTLINECOLOR "#FF8000"

http://dive4elements.wald.intevation.org