Revision 2934
Added by harris over 18 years ago
src/spatial/rendering/mapbuilder/world_frame_model.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?> |
|
2 |
<ViewContext version="1.0.0" id="atlas_world" |
|
3 |
xmlns="http://www.opengis.net/context" |
|
4 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
|
5 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
6 |
xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd"> |
|
7 |
|
|
8 |
<General> |
|
9 |
<Window width="600" height="300" /> |
|
10 |
<BoundingBox SRS="EPSG:4326" minx="-180" miny="-90" maxx="180" |
|
11 |
maxy="90" /> |
|
12 |
<Title>metacat data</Title> |
|
13 |
<KeywordList> |
|
14 |
<Keyword>metacat</Keyword> |
|
15 |
<Keyword>EML</Keyword> |
|
16 |
</KeywordList> |
|
17 |
<Abstract>Low resolution.</Abstract> |
|
18 |
</General> |
|
19 |
<LayerList> |
|
20 |
|
|
21 |
|
|
22 |
<Layer queryable="0" hidden="0"> |
|
23 |
<Server service="wms" version="1.1.0" title="wms"> |
|
24 |
<OnlineResource xlink:type="simple" |
|
25 |
xlink:href="http://atlas.gc.ca/cgi-bin/mapserv?map=/home/mapdata/aoc_v3/english/pb_world.map" /> |
|
26 |
</Server> |
|
27 |
<Name>ocean</Name> |
|
28 |
<Title>ocean area</Title> |
|
29 |
<SRS>EPSG:4326</SRS> |
|
30 |
<FormatList> |
|
31 |
<Format current="1">image/gif</Format> |
|
32 |
</FormatList> |
|
33 |
</Layer> |
|
34 |
|
|
35 |
<Layer queryable="0" hidden="0"> |
|
36 |
<Server service="wms" version="1.1.0" title="wms"> |
|
37 |
<OnlineResource xlink:type="simple" xlink:href="http://atlas.gc.ca/cgi-bin/mapserv?map=/home/mapdata/aoc_v3/english/pb_world.map"/> |
|
38 |
</Server> |
|
39 |
<Name>land</Name> |
|
40 |
<Title>land area</Title> |
|
41 |
<SRS>EPSG:4326</SRS> |
|
42 |
<FormatList> |
|
43 |
<Format current="1">image/gif</Format> |
|
44 |
</FormatList> |
|
45 |
</Layer> |
|
46 |
|
|
47 |
|
|
48 |
<Layer queryable="1" hidden="0"> |
|
49 |
<Server service="OGC:WMS" version="1.1.1" |
|
50 |
title="metacat document data"> |
|
51 |
<OnlineResource xlink:type="simple" |
|
52 |
xlink:href="../../../../wms" /> |
|
53 |
</Server> |
|
54 |
<Name>topp:metacat_testdata</Name> |
|
55 |
<Title>metacat documents</Title> |
|
56 |
<SRS>EPSG:4326</SRS> |
|
57 |
<FormatList> |
|
58 |
<Format current="1">image/png</Format> |
|
59 |
</FormatList> |
|
60 |
|
|
61 |
|
|
62 |
<!-- |
|
63 |
|
|
64 |
<StyleList> |
|
65 |
<Style current="1"> |
|
66 |
<Name>0xb8d8f6</Name> |
|
67 |
<Title>0xb8d8f6</Title> |
|
68 |
<LegendURL width="16" height="16" format="image/gif"> |
|
69 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms?VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=topp:metacat_testdata&SPATIAL_TYPE=POLYGON&STYLE=0xb8d8f6&FORMAT=image%2Fgif&SIMPLE=TRUE"/> |
|
70 |
|
|
71 |
</LegendURL> |
|
72 |
</Style> |
|
73 |
</StyleList> |
|
74 |
--> |
|
75 |
|
|
76 |
</Layer> |
|
77 |
<!-- <Layer queryable="1" hidden="0"> |
|
78 |
<Server service="OGC:WMS" version="1.1.1" |
|
79 |
title="terraserver"> |
|
80 |
<OnlineResource xlink:type="simple" |
|
81 |
xlink:href="http://terraserver.microsoft.com/OgcWms.aspx" /> |
|
82 |
</Server> |
|
83 |
<Name>DOQ</Name> |
|
84 |
<Title>terraserver</Title> |
|
85 |
<SRS>EPSG:4326</SRS> |
|
86 |
<FormatList> |
|
87 |
<Format current="1">image/jpeg</Format> |
|
88 |
</FormatList> |
|
89 |
</Layer> --> |
|
90 |
|
|
91 |
|
|
92 |
<Layer queryable="1" hidden="0"> |
|
93 |
<Server service="OGC:WMS" version="1.1.1" |
|
94 |
title="esri places"> |
|
95 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
96 |
</Server> |
|
97 |
<Name>topp:RIVERS</Name> |
|
98 |
<Title>esri world rivers</Title> |
|
99 |
<SRS>EPSG:4326</SRS> |
|
100 |
<FormatList> |
|
101 |
<Format current="1">image/png</Format> |
|
102 |
</FormatList> |
|
103 |
</Layer> |
|
104 |
|
|
105 |
<Layer queryable="1" hidden="0"> |
|
106 |
<Server service="OGC:WMS" version="1.1.1" |
|
107 |
title="esri places"> |
|
108 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
109 |
</Server> |
|
110 |
<Name>topp:country</Name> |
|
111 |
<Title>esri world countries</Title> |
|
112 |
<SRS>EPSG:4326</SRS> |
|
113 |
<FormatList> |
|
114 |
<Format current="1">image/png</Format> |
|
115 |
</FormatList> |
|
116 |
</Layer> |
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
<!--Layer queryable="1" hidden="0"> |
|
122 |
<Server service="OGC:WMS" version="1.1.1" |
|
123 |
title="esri places"> |
|
124 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
125 |
</Server> |
|
126 |
<Name>topp:places</Name> |
|
127 |
<Title>esri usa places</Title> |
|
128 |
<SRS>EPSG:4326</SRS> |
|
129 |
<FormatList> |
|
130 |
<Format current="1">image/png</Format> |
|
131 |
</FormatList> |
|
132 |
</Layer--> |
|
133 |
|
|
134 |
<!--Layer queryable="1" hidden="0"> |
|
135 |
<Server service="OGC:WMS" version="1.1.1" |
|
136 |
title="esri places"> |
|
137 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
138 |
</Server> |
|
139 |
<Name>topp:CITIES</Name> |
|
140 |
<Title>esri world cities places</Title> |
|
141 |
<SRS>EPSG:4326</SRS> |
|
142 |
<FormatList> |
|
143 |
<Format current="1">image/png</Format> |
|
144 |
</FormatList> |
|
145 |
</Layer--> |
|
146 |
|
|
147 |
<!--Layer queryable="1" hidden="0"> |
|
148 |
<Server service="OGC:WMS" version="1.1.1" |
|
149 |
title="esri places"> |
|
150 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
151 |
</Server> |
|
152 |
<Name>topp:latlong</Name> |
|
153 |
<Title>esri world latlong</Title> |
|
154 |
<SRS>EPSG:4326</SRS> |
|
155 |
<FormatList> |
|
156 |
<Format current="1">image/png</Format> |
|
157 |
</FormatList> |
|
158 |
</Layer--> |
|
159 |
|
|
160 |
|
|
161 |
</LayerList> |
|
162 |
</ViewContext> |
|
0 | 163 |
src/spatial/rendering/mapbuilder/available_layers_config.xml | ||
---|---|---|
162 | 162 |
<enabledSrc>/images/QueryEnable.gif</enabledSrc> |
163 | 163 |
<disabledSrc>/images/QueryDisable.gif</disabledSrc> |
164 | 164 |
</GetFeatureInfo> |
165 |
<SetAoi id="setAoi"> |
|
165 |
<!--SetAoi id="setAoi">
|
|
166 | 166 |
<buttonBar>mainButtonBar</buttonBar> |
167 | 167 |
<targetModel>mainMap</targetModel> |
168 | 168 |
<mouseHandler>mainAoi</mouseHandler> |
169 | 169 |
<class>RadioButton</class> |
170 | 170 |
<enabledSrc>/images/SetAoiEnable.gif</enabledSrc> |
171 | 171 |
<disabledSrc>/images/SetAoiDisable.gif</disabledSrc> |
172 |
</SetAoi> |
|
172 |
</SetAoi--> |
|
173 |
|
|
174 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
175 |
<buttonBar>mainButtonBar</buttonBar> |
|
176 |
<targetModel>mainMap</targetModel> |
|
177 |
<mouseHandler>mainAoi</mouseHandler> |
|
178 |
<class>RadioButton</class> |
|
179 |
<enabledSrc>/images/SetAoiEnable.gif</enabledSrc> |
|
180 |
<disabledSrc>/images/SetAoiDisable.gif</disabledSrc> |
|
181 |
<tooltip xml:lang="en">Metacat spatial query</tooltip> |
|
182 |
</AoiMetacatQuery> |
|
173 | 183 |
|
174 | 184 |
</widgets> |
175 | 185 |
<skinDir>../../lib/skin/default</skinDir> |
src/spatial/rendering/mapbuilder/world_frame_config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
|
2 |
<MapbuilderConfig version="0.2.1" id="referenceTemplate" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../mapbuilder/lib/schemas/config.xsd"> |
|
3 |
<!-- |
|
4 |
Description: This configuration file determines what components from the |
|
5 |
Mapbuilder library are to be included in a Main Mapbuilder web |
|
6 |
page. |
|
7 |
Licence: GPL as per: http://www.gnu.org/copyleft/gpl.html |
|
8 |
|
|
9 |
$Id$ |
|
10 |
--> |
|
11 |
<!-- |
|
12 |
All static images should be relative to this URL. |
|
13 |
This dir is relative the dir of the main html file. |
|
14 |
--> |
|
15 |
<models> |
|
16 |
<Context id="mainMap"> |
|
17 |
<defaultModelUrl>world_frame_model.xml</defaultModelUrl> |
|
18 |
<widgets> |
|
19 |
<MapPane id="mainMapWidget"> |
|
20 |
<htmlTagId>mainMapPane</htmlTagId> |
|
21 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
22 |
</MapPane> |
|
23 |
<AoiBoxWZ id="aoiBox2"> |
|
24 |
<htmlTagId>mainMapPane</htmlTagId> |
|
25 |
<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet> |
|
26 |
<lineColor>#FF0000</lineColor> |
|
27 |
<lineWidth>1</lineWidth> |
|
28 |
<crossSize>15</crossSize> |
|
29 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
30 |
</AoiBoxWZ> |
|
31 |
<CursorTrack id="cursorTrack"> |
|
32 |
<mouseHandler>mainMap</mouseHandler> |
|
33 |
</CursorTrack> |
|
34 |
<Legend id="legend"> |
|
35 |
</Legend> |
|
36 |
<MapScaleText id="mapScaleText"> |
|
37 |
</MapScaleText> |
|
38 |
</widgets> |
|
39 |
<tools> |
|
40 |
<AoiMouseHandler id="mainAoi"/> |
|
41 |
<DragPanHandler id="mainDragPan"> |
|
42 |
<enabled>false</enabled> |
|
43 |
</DragPanHandler> |
|
44 |
<MouseClickHandler id="mainMouseClick"/> |
|
45 |
</tools> |
|
46 |
</Context> |
|
47 |
|
|
48 |
<Context id="locator"> |
|
49 |
<defaultModelUrl>world_frame_model.xml</defaultModelUrl> |
|
50 |
<widgets> |
|
51 |
<MapPane id="locatorWidget"> |
|
52 |
<htmlTagId>locatorMap</htmlTagId> |
|
53 |
<targetModel>mainMap</targetModel> |
|
54 |
<mapContainerId>locatorContainer</mapContainerId> |
|
55 |
<fixedWidth>180</fixedWidth> |
|
56 |
</MapPane> |
|
57 |
<AoiBoxWZ id="aoiBox2"> |
|
58 |
<htmlTagId>locatorMap</htmlTagId> |
|
59 |
<stylesheet>../../lib/widget/GmlRenderer.xsl</stylesheet> |
|
60 |
<lineColor>#FF0000</lineColor> |
|
61 |
<lineWidth>1</lineWidth> |
|
62 |
<crossSize>15</crossSize> |
|
63 |
<mapContainerId>locatorContainer</mapContainerId> |
|
64 |
</AoiBoxWZ> |
|
65 |
</widgets> |
|
66 |
<tools> |
|
67 |
<AoiMouseHandler id="locatorAoi"/> |
|
68 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
69 |
<targetModel>mainMap</targetModel> |
|
70 |
</ZoomToAoi> |
|
71 |
</tools> |
|
72 |
</Context> |
|
73 |
|
|
74 |
<Transaction id="transaction"> |
|
75 |
<widgets> |
|
76 |
<TransactionResponse id="transactionResponse"> |
|
77 |
</TransactionResponse> |
|
78 |
</widgets> |
|
79 |
</Transaction> |
|
80 |
<FeatureCollection id="featureCollection"> |
|
81 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
82 |
<widgets> |
|
83 |
<GmlRendererWZ id="testGmlRenderer"> |
|
84 |
<htmlTagId>mainMapPane</htmlTagId> |
|
85 |
<targetModel>mainMap</targetModel> |
|
86 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
87 |
<lineColor>#FF0000</lineColor> |
|
88 |
<lineWidth>1</lineWidth> |
|
89 |
<pointDiameter>10</pointDiameter> |
|
90 |
</GmlRendererWZ> |
|
91 |
<FeatureList id="featureList"> |
|
92 |
</FeatureList> |
|
93 |
</widgets> |
|
94 |
</FeatureCollection> |
|
95 |
</models> |
|
96 |
<widgets> |
|
97 |
<ZoomIn id="zoomIn"> |
|
98 |
<buttonBar>mainButtonBar</buttonBar> |
|
99 |
<targetModel>mainMap</targetModel> |
|
100 |
<mouseHandler>mainAoi</mouseHandler> |
|
101 |
<class>RadioButton</class> |
|
102 |
<selected>true</selected> |
|
103 |
<enabledSrc>/images/ZoomInEnable.gif</enabledSrc> |
|
104 |
<disabledSrc>/images/ZoomInDisable.gif</disabledSrc> |
|
105 |
<tooltip xml:lang="en">click and drag to zoom in</tooltip> |
|
106 |
<tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip> |
|
107 |
</ZoomIn> |
|
108 |
<ZoomOut id="zoomOut"> |
|
109 |
<buttonBar>mainButtonBar</buttonBar> |
|
110 |
<targetModel>mainMap</targetModel> |
|
111 |
<mouseHandler>mainAoi</mouseHandler> |
|
112 |
<class>RadioButton</class> |
|
113 |
<enabledSrc>/images/ZoomOutEnable.gif</enabledSrc> |
|
114 |
<disabledSrc>/images/ZoomOutDisable.gif</disabledSrc> |
|
115 |
<tooltip xml:lang="en">click to zoom out</tooltip> |
|
116 |
<tooltip xml:lang="fr">cliquer pour rée</tooltip> |
|
117 |
</ZoomOut> |
|
118 |
<DragPan id="dragPan"> |
|
119 |
<buttonBar>mainButtonBar</buttonBar> |
|
120 |
<targetModel>mainMap</targetModel> |
|
121 |
<mouseHandler>mainDragPan</mouseHandler> |
|
122 |
<class>RadioButton</class> |
|
123 |
<enabledSrc>/images/PanEnable.gif</enabledSrc> |
|
124 |
<disabledSrc>/images/PanDisable.gif</disabledSrc> |
|
125 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
126 |
<tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip> |
|
127 |
</DragPan> |
|
128 |
<Reset id="reset"> |
|
129 |
<buttonBar>mainButtonBar</buttonBar> |
|
130 |
<targetModel>mainMap</targetModel> |
|
131 |
<class>Button</class> |
|
132 |
<disabledSrc>/images/ResetExtentDisable.gif</disabledSrc> |
|
133 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
134 |
<tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip> |
|
135 |
</Reset> |
|
136 |
<EditPoint id="editPoint"> |
|
137 |
<buttonBar>mainButtonBar</buttonBar> |
|
138 |
<mouseHandler>mainMouseClick</mouseHandler> |
|
139 |
<class>RadioButton</class> |
|
140 |
<enabledSrc>/images/EditPointEnable.gif</enabledSrc> |
|
141 |
<disabledSrc>/images/EditPointDisable.gif</disabledSrc> |
|
142 |
<tooltip xml:lang="en">click on map to create a point feature</tooltip> |
|
143 |
<tooltip xml:lang="fr">click on map to create a point feature</tooltip> |
|
144 |
<targetModel>featureCollection</targetModel> |
|
145 |
<transactionResponseModel>transaction</transactionResponseModel> |
|
146 |
<webServiceUrl>../../../../wfs</webServiceUrl> |
|
147 |
<featureXpath>/gml:featureMember/topp:metacat_testdata/topp:the_geom/gml:Point/gml:coordinates</featureXpath> |
|
148 |
<featureXpath>/gml:featureMember/topp:metacat_testdata/topp:ID</featureXpath> |
|
149 |
<defaultModelUrl>template_metacat.xml</defaultModelUrl> |
|
150 |
<targetContext>mainMap</targetContext> |
|
151 |
</EditPoint> |
|
152 |
|
|
153 |
<GetFeatureInfo id="getFeatureInfo"> |
|
154 |
<buttonBar>mainButtonBar</buttonBar> |
|
155 |
<targetModel>mainMap</targetModel> |
|
156 |
<!-- <targetModel>featureCollection</targetModel> --> |
|
157 |
<context>mainMap</context> |
|
158 |
<!-- <mouseHandler>mainMouseClick</mouseHandler> --> |
|
159 |
<mouseHandler>mainAoi</mouseHandler> |
|
160 |
<!-- <mouseHandler>mainAoi</mouseHandler> --> |
|
161 |
<class>RadioButton</class> |
|
162 |
<enabledSrc>/images/QueryEnable.gif</enabledSrc> |
|
163 |
<disabledSrc>/images/QueryDisable.gif</disabledSrc> |
|
164 |
</GetFeatureInfo> |
|
165 |
<!--SetAoi id="setAoi"> |
|
166 |
<buttonBar>mainButtonBar</buttonBar> |
|
167 |
<targetModel>mainMap</targetModel> |
|
168 |
<mouseHandler>mainAoi</mouseHandler> |
|
169 |
<class>RadioButton</class> |
|
170 |
<enabledSrc>/images/SetAoiEnable.gif</enabledSrc> |
|
171 |
<disabledSrc>/images/SetAoiDisable.gif</disabledSrc> |
|
172 |
</SetAoi--> |
|
173 |
|
|
174 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
175 |
<buttonBar>mainButtonBar</buttonBar> |
|
176 |
<targetModel>mainMap</targetModel> |
|
177 |
<mouseHandler>mainAoi</mouseHandler> |
|
178 |
<class>RadioButton</class> |
|
179 |
<enabledSrc>/images/SetAoiEnable.gif</enabledSrc> |
|
180 |
<disabledSrc>/images/SetAoiDisable.gif</disabledSrc> |
|
181 |
<tooltip xml:lang="en">Metacat spatial query</tooltip> |
|
182 |
</AoiMetacatQuery> |
|
183 |
|
|
184 |
</widgets> |
|
185 |
<skinDir>../../lib/skin/default</skinDir> |
|
186 |
<!-- Url of LOCAL redirection script, required to access external URLs --> |
|
187 |
<proxyUrl>../../proxy.jsp</proxyUrl> |
|
188 |
<!-- |
|
189 |
<serializeUrl>../../writeXml</serializeUrl> |
|
190 |
--> |
|
191 |
</MapbuilderConfig> |
|
192 |
|
|
0 | 193 |
src/spatial/rendering/mapbuilder/africa_frame.html | ||
---|---|---|
44 | 44 |
|
45 | 45 |
<table border="0"> |
46 | 46 |
<tr> |
47 |
<td align="center" id="mapScaleText"/> |
|
47 |
<!-- <td align="center" id="mapScaleText"/>
|
|
48 | 48 |
<td colspan="1"></td> |
49 |
<td align="center" id="cursorTrack" /> |
|
49 |
<td align="center" id="cursorTrack" /> -->
|
|
50 | 50 |
</tr> |
51 | 51 |
<tr> <td id="locatorMap" style="display:none"/> </tr> |
52 | 52 |
<tr> <td id="mainButtonBar" /> </tr> |
src/spatial/rendering/mapbuilder/available_layers.html | ||
---|---|---|
86 | 86 |
</tr> |
87 | 87 |
</table> |
88 | 88 |
|
89 |
<div id="debug"></div> |
|
89 | 90 |
|
90 | 91 |
</body> |
91 | 92 |
</html> |
src/spatial/rendering/mapbuilder/world_frame.html | ||
---|---|---|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 |
|
|
3 |
|
|
4 |
<html> |
|
5 |
<head> |
|
6 |
<title>Metacat Spatial Option Demo</title> |
|
7 |
|
|
8 |
|
|
9 |
<link rel="stylesheet" href="../../../../style.css" type="text/css"> |
|
10 |
<link rel="stylesheet" href="../../lib/skin/default/html.css" type="text/css"> |
|
11 |
|
|
12 |
<link href="./knb/style/skins/knb/knb.css" type="text/css" rel="stylesheet"> |
|
13 |
<script src="./knb/style/skins/knb/knb.js" type="text/JavaScript" language="Javascript"></script> |
|
14 |
<script src="./knb/style/common/branding.js" type="text/JavaScript" language="Javascript"></script><script language="JavaScript"> |
|
15 |
function submitform(action,form_ref) { |
|
16 |
form_ref.action.value=action; |
|
17 |
form_ref.sessionid.value=""; |
|
18 |
form_ref.qformat.value="knb"; |
|
19 |
form_ref.submit(); |
|
20 |
} |
|
21 |
</script> |
|
22 |
|
|
23 |
<script type="text/javascript"> |
|
24 |
// URL of Mapbuilder configuration file. |
|
25 |
var mbConfigUrl='world_frame_config.xml'; |
|
26 |
</script> |
|
27 |
<script type="text/javascript" src="../../lib/Mapbuilder.js"></script> |
|
28 |
</head> |
|
29 |
<!-- |
|
30 |
<body onload="document.location='../../../wms/GetCapabilities'"> |
|
31 |
--> |
|
32 |
<body onload="mbDoLoad()"> |
|
33 |
|
|
34 |
<table border="0"> |
|
35 |
<tr> |
|
36 |
<td rowspan="2" valign="top" /> |
|
37 |
<table border="0"> |
|
38 |
<tr> |
|
39 |
</tr> |
|
40 |
<tr> |
|
41 |
<td colspan="2" id="mainMapPane" style="background-color: white;" /> |
|
42 |
</tr> |
|
43 |
<tr align="right"> |
|
44 |
|
|
45 |
<table border="0"> |
|
46 |
<tr> |
|
47 |
<!-- <td align="center" id="mapScaleText"/> |
|
48 |
<td colspan="1"></td> |
|
49 |
<td align="center" id="cursorTrack" /> --> |
|
50 |
</tr> |
|
51 |
<tr> <td id="locatorMap" style="display:none"/> </tr> |
|
52 |
<tr> <td id="mainButtonBar" /> </tr> |
|
53 |
<tr> <td id="legend" valign="top"/> </tr> |
|
54 |
<tr> <td colspan="3" id="featureList" /> </tr> |
|
55 |
</table> |
|
56 |
</tr> |
|
57 |
|
|
58 |
|
|
59 |
</table> |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
63 |
|
|
64 |
<div id="debug"></div> |
|
65 |
|
|
66 |
</body> |
|
67 |
</html> |
|
0 | 68 |
src/spatial/rendering/mapbuilder/available_layers_model.xml | ||
---|---|---|
18 | 18 |
</General> |
19 | 19 |
<LayerList> |
20 | 20 |
|
21 |
|
|
22 |
<Layer queryable="0" hidden="0"> |
|
23 |
<Server service="wms" version="1.1.0" title="wms"> |
|
24 |
<OnlineResource xlink:type="simple" |
|
25 |
xlink:href="http://atlas.gc.ca/cgi-bin/mapserv?map=/home/mapdata/aoc_v3/english/pb_world.map" /> |
|
26 |
</Server> |
|
27 |
<Name>ocean</Name> |
|
28 |
<Title>ocean area</Title> |
|
29 |
<SRS>EPSG:4326</SRS> |
|
30 |
<FormatList> |
|
31 |
<Format current="1">image/gif</Format> |
|
32 |
</FormatList> |
|
33 |
</Layer> |
|
34 |
|
|
35 |
<Layer queryable="0" hidden="0"> |
|
36 |
<Server service="wms" version="1.1.0" title="wms"> |
|
37 |
<OnlineResource xlink:type="simple" xlink:href="http://atlas.gc.ca/cgi-bin/mapserv?map=/home/mapdata/aoc_v3/english/pb_world.map"/> |
|
38 |
</Server> |
|
39 |
<Name>land</Name> |
|
40 |
<Title>land area</Title> |
|
41 |
<SRS>EPSG:4326</SRS> |
|
42 |
<FormatList> |
|
43 |
<Format current="1">image/gif</Format> |
|
44 |
</FormatList> |
|
45 |
</Layer> |
|
21 | 46 |
|
47 |
|
|
22 | 48 |
<Layer queryable="1" hidden="0"> |
23 | 49 |
<Server service="OGC:WMS" version="1.1.1" |
24 | 50 |
title="metacat document data"> |
... | ... | |
88 | 114 |
<Format current="1">image/png</Format> |
89 | 115 |
</FormatList> |
90 | 116 |
</Layer> |
117 |
|
|
118 |
|
|
119 |
|
|
91 | 120 |
|
92 |
<Layer queryable="1" hidden="0"> |
|
121 |
<!--Layer queryable="1" hidden="0">
|
|
93 | 122 |
<Server service="OGC:WMS" version="1.1.1" |
94 | 123 |
title="esri places"> |
95 | 124 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
... | ... | |
100 | 129 |
<FormatList> |
101 | 130 |
<Format current="1">image/png</Format> |
102 | 131 |
</FormatList> |
103 |
</Layer> |
|
132 |
</Layer-->
|
|
104 | 133 |
|
105 |
<Layer queryable="1" hidden="0"> |
|
134 |
<!--Layer queryable="1" hidden="0">
|
|
106 | 135 |
<Server service="OGC:WMS" version="1.1.1" |
107 | 136 |
title="esri places"> |
108 | 137 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
... | ... | |
113 | 142 |
<FormatList> |
114 | 143 |
<Format current="1">image/png</Format> |
115 | 144 |
</FormatList> |
116 |
</Layer> |
|
145 |
</Layer-->
|
|
117 | 146 |
|
118 |
<Layer queryable="1" hidden="0"> |
|
147 |
<!--Layer queryable="1" hidden="0">
|
|
119 | 148 |
<Server service="OGC:WMS" version="1.1.1" |
120 | 149 |
title="esri places"> |
121 | 150 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
... | ... | |
126 | 155 |
<FormatList> |
127 | 156 |
<Format current="1">image/png</Format> |
128 | 157 |
</FormatList> |
129 |
</Layer> |
|
158 |
</Layer-->
|
|
130 | 159 |
|
131 | 160 |
|
132 | 161 |
</LayerList> |
src/spatial/rendering/mapbuilder/africa_frame_model.xml | ||
---|---|---|
5 | 5 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
6 | 6 |
xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd"> |
7 | 7 |
<General> |
8 |
<Window width="400" height="400" />
|
|
9 |
<BoundingBox SRS="EPSG:4326" minx="29" miny="-26.5" maxx="34" maxy="-21.5" />
|
|
8 |
<Window width="250" height="375" />
|
|
9 |
<BoundingBox SRS="EPSG:4326" minx="30" miny="-26.5" maxx="33" maxy="-21.5" />
|
|
10 | 10 |
<Title>metacat data</Title> |
11 | 11 |
<KeywordList> |
12 | 12 |
<Keyword>metacat</Keyword> |
... | ... | |
45 | 45 |
<Server service="wms" version="1.1.0" title="wms"> |
46 | 46 |
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://wms.jpl.nasa.gov/wms.cgi?"/> |
47 | 47 |
</Server> |
48 |
<!-- <Name>global_mosaic</Name> -->
|
|
49 |
<Name>BMNG</Name>
|
|
48 |
<Name>global_mosaic</Name>
|
|
49 |
<!-- <Name>BMNG</Name> -->
|
|
50 | 50 |
<Title>jpl data</Title> |
51 | 51 |
<SRS>EPSG:4326</SRS> |
52 | 52 |
<FormatList> |
... | ... | |
83 | 83 |
--> |
84 | 84 |
|
85 | 85 |
</Layer> |
86 |
|
|
86 |
|
|
87 |
<!-- |
|
87 | 88 |
<Layer queryable="1" hidden="0"> |
88 | 89 |
<Server service="OGC:WMS" version="1.1.1" |
89 | 90 |
title="kruger boundary"> |
... | ... | |
96 | 97 |
<Format current="1">image/png</Format> |
97 | 98 |
</FormatList> |
98 | 99 |
</Layer> |
100 |
--> |
|
99 | 101 |
|
100 | 102 |
<Layer queryable="1" hidden="0"> |
101 | 103 |
<Server service="OGC:WMS" version="1.1.1" |
... | ... | |
122 | 124 |
<Format current="1">image/png</Format> |
123 | 125 |
</FormatList> |
124 | 126 |
</Layer> |
127 |
|
|
125 | 128 |
|
126 | 129 |
<Layer queryable="1" hidden="0"> |
127 | 130 |
<Server service="OGC:WMS" version="1.1.1" |
... | ... | |
136 | 139 |
</FormatList> |
137 | 140 |
</Layer> |
138 | 141 |
|
139 |
|
|
142 |
<!-- |
|
140 | 143 |
<Layer queryable="0" hidden="1"> |
141 | 144 |
<Server service="OGC:WMS" version="1.1.1" |
142 | 145 |
title="esri places"> |
... | ... | |
149 | 152 |
<Format current="1">image/png</Format> |
150 | 153 |
</FormatList> |
151 | 154 |
</Layer> |
155 |
--> |
|
152 | 156 |
|
153 | 157 |
<Layer queryable="0" hidden="1"> |
154 | 158 |
<Server service="OGC:WMS" version="1.1.1" |
Also available in: Unified diff
Adding maps for the world frame.