diff flys-client/src/main/webapp/WEB-INF/config.yaml @ 2504:425bc486a40f

Generate map print spec dynamically from artifact flys-client/trunk@4349 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 May 2012 18:31:03 +0000
parents 328aa273ef3b
children 4aa70825bde1
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/config.yaml	Fri May 04 17:03:04 2012 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/config.yaml	Fri May 04 18:31:03 2012 +0000
@@ -21,7 +21,7 @@
   - 2000000
   - 4000000
 
-outputFilename: 'pigma-${date}.pdf'
+outputFilename: 'flys-${date}.pdf'
 
 #===========================================================================
 # the list of allowed hosts
@@ -29,28 +29,13 @@
 hosts:
   - !localMatch
     dummy: true
-  - !ipMatch
-    ip: www.camptocamp.org
   - !dnsMatch
-    host: labs.metacarta.com
-    port: 80
-  - !dnsMatch
-    host: terraservice.net
+    host: wsvmapserv.wsv.bund.de
     port: 80
   - !dnsMatch
     host: tile.openstreetmap.org
     port: 80
 
-security:
-  - !basicAuth
-    matcher: !dnsMatch
-      host: c2cpc61.camptocamp.com
-      port:80
-    username: xyz
-    password: yxz
-    preemptive: true
-
-
 layouts:
   #===========================================================================
   A4 portrait:
@@ -62,58 +47,58 @@
       keywords: 'map,print'
       creator: 'MapFish'
 
-    titlePage:
-      pageSize: A4
-      items:
-        - !text
-          spacingAfter: 150
-        - !text
-          font: Helvetica
-          fontSize: 40
-          spacingAfter: 100
-          align: center
-          text: '${title}'
-        - !image
-          maxWidth: 160
-          maxHeight: 160
-          spacingAfter: 100
-          align: center
-          url: http://trac.mapfish.org/trac/mapfish/attachment/ticket/3/logo_v8_sphere.svg?format=raw
-        - !image
-          maxWidth: 160
-          maxHeight: 160
-          spacingAfter: 100
-          align: center
-          url: 'file://${configDir}/../images/flys_logo.gif'
-        - !text
-          font: Helvetica
-          fontSize: 14
-          align: left
-          text: |
-            Two layers are asked by the client:
-            - a base layer from Metacarta
-            - a transparent layer from Camptocamp.org (routes)
-            .
-            Some text is added over the map, just to demonstrate the absolute positionning.
-      footer: &commonFooter
-        height: 30
-        items:
-          - !columns
-            config:
-              cells:
-                - paddingBottom: 5   
-            items:
-              - !image
-                maxWidth: 40
-                backgroundColor: #FF0000
-                align: left
-                url: '${configDir}/../images/properties.gif'
-              - !text
-                backgroundColor: #FF0000
-                text: ©Camptocamp SA
-              - !text
-                align: right
-                text: 'Page ${pageNum}'
+#    titlePage:
+#      pageSize: A4
+#      items:
+#        - !text
+#          spacingAfter: 150
+#        - !text
+#          font: Helvetica
+#          fontSize: 40
+#          spacingAfter: 100
+#          align: center
+#          text: '${title}'
+#        - !image
+#          maxWidth: 160
+#          maxHeight: 160
+#          spacingAfter: 100
+#          align: center
+#          url: http://trac.mapfish.org/trac/mapfish/attachment/ticket/3/logo_v8_sphere.svg?format=raw
+#        - !image
+#          maxWidth: 160
+#          maxHeight: 160
+#          spacingAfter: 100
+#          align: center
+#          url: 'file://${configDir}/../images/flys_logo.gif'
+#        - !text
+#          font: Helvetica
+#          fontSize: 14
+#          align: left
+#          text: |
+#            Two layers are asked by the client:
+#            - a base layer from Metacarta
+#            - a transparent layer from Camptocamp.org (routes)
+#            .
+#            Some text is added over the map, just to demonstrate the absolute positionning.
+#      footer: &commonFooter
+#        height: 30
+#        items:
+#          - !columns
+#            config:
+#              cells:
+#                - paddingBottom: 5   
+#            items:
+#              - !image
+#                maxWidth: 40
+#                backgroundColor: #FF0000
+#                align: left
+#                url: '${configDir}/../images/properties.gif'
+#              - !text
+#                backgroundColor: #FF0000
+#                text: ©Camptocamp SA
+#              - !text
+#                align: right
+#                text: 'Page ${pageNum}'
 
     #-------------------------------------------------------------------------
     mainPage:

http://dive4elements.wald.intevation.org