annotate gnv/src/main/webapp/WEB-INF/jsp/includes/display_mapviewercall_inc.jsp @ 1022:28a0628b11b0

Added license file and license header. gnv/trunk@1258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Nov 2010 17:15:08 +0000
parents fbbf2ffde11f
children
rev   line source
1022
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
1 <%--
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
2 Copyright (c) 2010 by Intevation GmbH
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
3
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
4 This program is free software under the LGPL (>=v2.1)
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
5 Read the file LGPL.txt coming with the software for details
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
6 or visit http://www.gnu.org/licenses/ if it does not exist.
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
7 --%>
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 671
diff changeset
8
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
9 <%
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
10 String geometry = "POINT (6.3333 56.5)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
11 String geometrytype = request.getParameter("gt");
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
12 if(geometrytype != null){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
13 if (geometrytype.equals("POINT")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
14 geometry = "POINT (6.3333 56.5)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
15 }else if (geometrytype.equals("LINESTRING")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
16 geometry = "LINESTRING (0.4911 56.2489,10.4464 58.1608,12.2321 56.4127,13.1250 54.8832,15.4018 54.5008,19.6875 56.4127,20.6250 59.0349,28.1250 60.2640)";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
17 }else if (geometrytype.equals("POLYGON")){
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
18 geometry = "POLYGON ((-1.5763 58.3616, 0.7526 53.8428, 4.2686 53.1972, 7.9217 54.1441, 7.6020 56.2959, 11.5747 57.2857, 0.4788 58.4908, 4.2686 58.8996, 0.0219 58.5768, -1.5763 58.3616))";
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
19 }
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
20 }
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
21 %>
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
22
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
23 <div id="basefilter" style="left:310px;position:absolute;width:350px">
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 <form action="<%=response.encodeURL("extcall.do")%>" method="post">
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
25 <fieldset>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 <legend>Kartenviewer Request</legend>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
27 <textarea id="mapviewer" class="mapviewer" name="document" rows="25" cols="80">
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
28 <?xml version='1.0' encoding='UTF-8'?>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
29 <gnviewer>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
30 <mapservices>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
31 <mapservice id='BSH_IMS_Prediction_Model_Current' type='arcims' url='http://foo.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
32 <Modeldata />
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
33 <layer id='3' name='Speed Today 00:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
34 <layer id='146' name='Surface Current Day After Tomorrow'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
35 <layer id='207' name='Day After Tomorrow 20:00 (Surface)'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
36 <layer id='208' name='Speed Day After Tomorrow 21:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
37 <layer id='209' name='Speed Day After Tomorrow 20:00 (Surface)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
38 </layer>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
39 </layer>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
40 </mapservice>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
41 <mapservice id='BSH_IMS_Marine_Environmental_Monitoring_Network' type='wms' url='http://foo1.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
42 <MARNET/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
43 <layer id='26' name='Air'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
44 <layer id='27' name='Temperature'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
45 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
46 <layer id='9' name='Salinity'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
47 <layer id='10' name='depth: (0m- -6m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
48 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
49 <layer id='13' name='OxygenSaturation'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
50 <layer id='14' name='depth: (0m- -6m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
51 <layer id='15' name='depth: (-6m- -20m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
52 <layer id='16' name='depth: (-20m- -50m)'/>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
53 </layer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
54 </mapservice>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
55 <mapservice id='BSH_IMS_Sea_Surface_Temperature_Analysis' type='arcims' url='http://foo.bar.de'>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
56 <SST/>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
57 </mapservice>
567
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
58 <mapservice id='BSH_IMS_Prediction_Model_Salinity' type='arcims' url='http://foo.bar.de'>
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
59 <Modeldata />
83ff52574604 Added further XML-Nodes for simulating the MapViewer-Call more detailed.
Tim Englich <tim.englich@intevation.de>
parents: 563
diff changeset
60 </mapservice>
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
61 <mapservice id='BSH_IMS_CONTIS_Resources' type='arcims' url='http://foo.bar.de'>
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
62 <Contis />
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
63 </mapservice>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
64 </mapservices>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
65 <location>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
66 <srs>EPSG:4324</srs>
671
fbbf2ffde11f Integrated a Switch will be load different Geometries into the Requestbody of an Mapviewercall.
Tim Englich <tim.englich@intevation.de>
parents: 567
diff changeset
67 <data><%=geometry%></data>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
68 </location>
563
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
69 </gnviewer>
0fc9cd280f1e Integrated an Textarea so that is possible to manipulate the XML-Document
Tim Englich <tim.englich@intevation.de>
parents: 559
diff changeset
70 </textarea>
559
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
71 <input type="submit" name="btClick" value="Ausf�hren" />
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
72 </fieldset>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
73 </form>
2183c764b403 Added temporally Possibility to send an MapViewer-Interface-Request using the GUI of the GNV
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
74 </div>

http://dive4elements.wald.intevation.org