changeset 2680:c0fbff11d287

Added a Mapserver PROJECTION section into the shapefile template. flys-artifacts/trunk@4378 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 10 May 2012 09:40:39 +0000
parents 22c8a9b4de31
children b94b367d8b4d
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/mapserver/layer.vm
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu May 10 09:28:01 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu May 10 09:40:39 2012 +0000
@@ -1,3 +1,7 @@
+2012-05-10  Ingo Weinzierl <ingo@intevation.de>
+
+	* doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
+
 2012-05-10  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
--- a/flys-artifacts/doc/conf/mapserver/layer.vm	Thu May 10 09:28:01 2012 +0000
+++ b/flys-artifacts/doc/conf/mapserver/layer.vm	Thu May 10 09:40:39 2012 +0000
@@ -18,6 +18,10 @@
         #end
     END
 
+    PROJECTION
+        "init=epsg:$LAYER.getSrid()"
+    END
+
     #if ( !$LAYER.getStyle() )
         #if ( $LAYER.getGroupTitle() )
             #if ( $LAYER.getType() == "POLYGON" )

http://dive4elements.wald.intevation.org