changeset 1068:a4e490e0af5b

Enable GetFeatureInforRequests on all layer gnv-artifacts/trunk@1163 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 07 Jun 2010 12:17:57 +0000
parents 9336d313f8e1
children 0d15e515f88d
files gnv-artifacts/doc/conf/conf.xml gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity_isolines.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm gnv-artifacts/doc/conf/maptemplates/layer_linestring.vm gnv-artifacts/doc/conf/maptemplates/layer_point.vm gnv-artifacts/doc/conf/maptemplates/layer_polygon.vm
diffstat 12 files changed, 72 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/conf.xml	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/conf.xml	Mon Jun 07 12:17:57 2010 +0000
@@ -3,8 +3,6 @@
     <factories>
         <context-factory>de.intevation.gnv.artifacts.context.GNVArtifactContextFactory</context-factory>
         <artifact-factories>
-            <!-- All Artifactfactories which are available in this Database. 
-                 Each Artifactfactory represents one FIS. -->
             <artifact-factory name="fis_marnet" description="Factory to create an artifact to be used with the FIS Marnet"  
                               ttl="3600000" artifact="de.intevation.artifactdatabase.ProxyArtifact">de.intevation.gnv.artifacts.GNVProductArtifactFactory</artifact-factory>
             <artifact-factory name="fis_imis" description="Factory to create an artifact to be used with the FIS IMIS"  
@@ -43,9 +41,15 @@
                               ttl="3600000" artifact="de.intevation.artifactdatabase.ProxyArtifact">de.intevation.gnv.artifacts.GNVProductArtifactFactory</artifact-factory>
             <artifact-factory name="fis_marinefeatures" description="Factory to create an artifact to be used with the FIS Conthis"  
                               ttl="3600000" artifact="de.intevation.artifactdatabase.ProxyArtifact">de.intevation.gnv.artifacts.GNVProductArtifactFactory</artifact-factory>
+            <artifact-factory name='fis_justanewfis' 
+                              description='Factory to create an artifact to be used with the FIS NEWFISNAME'  
+                              ttl='3600000' 
+                              artifact='de.intevation.artifactdatabase.ProxyArtifact'>
+                   de.intevation.gnv.artifacts.GNVProductArtifactFactory
+         </artifact-factory>
+            
         </artifact-factories>
         <service-factories>
-            <!-- The Servicefactory which is responsible to handle MV-GNV-Interface-Calls -->
             <service-factory
                 name="metadata"
                 service="de.intevation.gnv.artifacts.services.MetaDataService"
@@ -57,6 +61,25 @@
           which will be Access using separate Artifacts.
           Those Artifacts are configured below these Section.-->
     <artifacts>
+    <artifact name='fis_justanewfis'>
+        <products>
+            <product name= "timeSeries">
+                 <artifact-factory name="timeSeries" 
+                                   description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints"  
+                                   ttl="300000" 
+                                   artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact">
+                                   de.intevation.gnv.artifacts.GNVArtifactFactory
+                 </artifact-factory>
+                 <parameters>
+                     <parameter name="sourceid" 
+                              value="4"/>
+                     <parameter name="fisname" 
+                              value="fis_justanewfis"/>
+                 </parameters>
+             </product>
+       </products>
+        </artifact>
+    
         <artifact name="fis_marnet">
             <products>
                 <product name= "timeSeries">
@@ -426,6 +449,7 @@
               of the FIS above.
               The product-Artifacts can be configured here or can be referenced
               using an xlink:href-Attribute. -->
+              
         <artifact name="timeSeries" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/products/timeseries/conf_timeseriespoint.xml" />
         <artifact name="timeSeriesMesh" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/products/timeseries/conf_mesh.xml" />
         
@@ -502,7 +526,7 @@
         <!-- In this section the required Configuration for mapfile generation is
              given. -->
         <map-generator>
-            <mapfile path="${artifacts.config.dir}/../mapfiles/mapfile.map" />
+            <mapfile path="/vol1/home/tim/workspace/gnvdevelop/trunk/gnv-artifacts/doc/mapfiles/mapfile.map" />
             <templates>
                 <path>${artifacts.config.dir}/maptemplates</path>
                 <maptemplate>mapfile.vm</maptemplate>
@@ -511,14 +535,11 @@
     </gnv>
 
     <mapserver>
-       <!-- This Section configures the required Informations to provide the 
-            WMS-Exports -->
-        <server path="http://$YOURSERVER/cgi-bin/gnv-wms" />
+        <server path="http://localhost/cgi-bin/gnvwms" />
     </mapserver>
 
     <velocity>
-        <!-- This Section configures all required settings for velocity. -->
-        <logfile path="/var/log/artifacts/velocity.log" />
+        <logfile path="/vol1/home/tim/workspace/gnvdevelop/trunk/gnv-artifacts/doc/velocity.log" />
     </velocity>
 
     <ehcache>
@@ -549,13 +570,11 @@
         <sleep-time>60000</sleep-time>
     </cleaner>
     <database>
-        <!-- This Section configures the Settings for connecting to the 
-             Artifact-Database instance. e.g. SQLite -->
         <user>SA</user>
         <password></password>
-        <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url>
+        <url>jdbc:h2:${artifacts.config.dir}/artifacts.db</url>
         <!--driver>org.h2.Driver</driver> 
         <sql></sql> -->
     </database>
 
-</artifact-database>
+</artifact-database>
\ No newline at end of file
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,12 @@
     TYPE $info.getType()
     DATA "${info.getData()}"
     STATUS $info.getStatus()
-
+    TEMPLATE     map.html
+    DUMP TRUE
+    
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("flow-velocity_polygons.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -4,9 +4,13 @@
     TYPE $info.getType()
     STATUS $info.getStatus()
     LABELITEM DESC
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("flow-velocity_isolines.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,12 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("salinity_polygons.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity_isolines.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_salinity_isolines.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -4,9 +4,13 @@
     TYPE $info.getType()
     STATUS $info.getStatus()
     LABELITEM DESC
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("salinity_isolines.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,12 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("water-levels_polygons.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -4,9 +4,13 @@
     TYPE $info.getType()
     STATUS $info.getStatus()
     LABELITEM DESC
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("water-levels_isolines.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,12 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("water-temperature_polygons.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -4,9 +4,13 @@
     TYPE $info.getType()
     STATUS $info.getStatus()
     LABELITEM DESC
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     #include("water-temperature_isolines.class.vm")
--- a/gnv-artifacts/doc/conf/maptemplates/layer_linestring.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/layer_linestring.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,13 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     CLASS
--- a/gnv-artifacts/doc/conf/maptemplates/layer_point.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/layer_point.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,13 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    TOLERANCE 10
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+        "gml_include_items" "all"
     END
 
     CLASS
--- a/gnv-artifacts/doc/conf/maptemplates/layer_polygon.vm	Mon Jun 07 10:20:21 2010 +0000
+++ b/gnv-artifacts/doc/conf/maptemplates/layer_polygon.vm	Mon Jun 07 12:17:57 2010 +0000
@@ -3,9 +3,12 @@
     TYPE $info.getType()
     DATA "$info.getData()"
     STATUS $info.getStatus()
+    TEMPLATE     map.html
+    DUMP TRUE
 
     METADATA
         "wms_title" "$info.getTitle()"
+         "gml_include_items" "all"
     END
 
     CLASS

http://dive4elements.wald.intevation.org