[Commits] r1978 - in sandbox/mapgears/geoext.ux/ux/WMSLayerAdder: examples examples/data lib/GeoExt.ux/widgets
commits at geoext.org
commits at geoext.org
Tue Mar 16 21:48:48 CET 2010
Author: adube
Date: 2010-03-16 21:48:48 +0100 (Tue, 16 Mar 2010)
New Revision: 1978
Added:
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/store.js
Removed:
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/data/bdga.xml
Modified:
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.html
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.html
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/lib/GeoExt.ux/widgets/WMSLayerAdder.js
Log:
wmslayeradder - grid and panels created once, store proxy url changed on the fly
Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.html 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.html 2010-03-16 20:48:48 UTC (rev 1978)
@@ -16,7 +16,8 @@
<link rel="stylesheet" type="text/css" href="../resources/css/WMSLayerAdder.css" />
<script type="text/javascript" src="../lib/GeoExt.ux/SingleFile.js"></script>
-
+
+ <script type="text/javascript" src="./store.js"></script>
<script type="text/javascript" src="WMSLayerAdderExample.js"></script>
</head>
Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderExample.js 2010-03-16 20:48:48 UTC (rev 1978)
@@ -15,14 +15,6 @@
zoom: 4
});
- var oServerStore = new Ext.data.SimpleStore({
- fields: ['url'],
- data : [
- ["http://127.0.0.1/cgi-bin/mapserv?map=/home/adube/proj/bdga/msp/wms/bdga.map"],
- ['http://dev4g.mapgears.com/cgi-bin/mapserv?map=/home/mapgears/proj/geoprisma-demo/map/gmap/gmap75_wms.map']
- ]
- });
-
WMSLayerAdder = new GeoExt.ux.WMSLayerAdder({
title: OpenLayers.i18n("WMSLayerAdder"),
region: "east",
Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.html
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.html 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.html 2010-03-16 20:48:48 UTC (rev 1978)
@@ -16,7 +16,8 @@
<link rel="stylesheet" type="text/css" href="../resources/css/WMSLayerAdder.css" />
<script type="text/javascript" src="../lib/GeoExt.ux/SingleFile.js"></script>
-
+
+ <script type="text/javascript" src="./store.js"></script>
<script type="text/javascript" src="WMSLayerAdderInWindowExample.js"></script>
</head>
Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/WMSLayerAdderInWindowExample.js 2010-03-16 20:48:48 UTC (rev 1978)
@@ -49,24 +49,11 @@
var openWindow = function() {
if(!layerAdderWindow) {
- var oServerStore = new Ext.data.SimpleStore({
- fields: ['url'],
- data : [
- ['./data/bdga.xml'],
- ['./data/wmscap.xml'],
- // on WINDOZE machines, you need to specify DOUBLE
- // backslashes for file paths
- ['http://127.0.0.1:9090/cgi-bin/mapserv.exe?map=C:\\demo\\bdga-mapfish\\ms4w\\apps\\bdga\\msp\\wms\\bdga.map'],
- ["http://127.0.0.1/cgi-bin/mapserv?map=/home/adube/proj/bdga/msp/wms/bdga.map"],
- ['http://dev4g.mapgears.com/cgi-bin/mapserv?map=/home/mapgears/proj/geoprisma-demo/map/gmap/gmap75_wms.map']
- ]
- });
-
WMSLayerAdder = new GeoExt.ux.WMSLayerAdder({
region: "east",
gridPanelOptions: {'height': 260},
// comment the below line to have a 'textfield' instead of a
- // 'combobox'
+ // 'combobox'. oServerStore is in ./store.js
serverStore: oServerStore,
mapPanel: mapPanel
});
Deleted: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/data/bdga.xml
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/data/bdga.xml 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/data/bdga.xml 2010-03-16 20:48:48 UTC (rev 1978)
@@ -1,881 +0,0 @@
-<?xml version='1.0' encoding="iso-8859-1" standalone="no" ?>
-<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
- [
- <!ELEMENT VendorSpecificCapabilities EMPTY>
- ]> <!-- end of DOCTYPE declaration -->
-
-<WMT_MS_Capabilities version="1.1.1">
-
-<!-- MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
-
-<Service>
- <Name>OGC:WMS</Name>
- <Title>La Base de donnees geographiques et administratives</Title>
- <Abstract></Abstract>
- <KeywordList>
- <Keyword>La Base de donnees geographiques et administratives</Keyword>
- <Keyword> BDGA</Keyword>
- </KeywordList>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/>
- <ContactInformation>
- <ContactPersonPrimary>
- <ContactPerson></ContactPerson>
- <ContactOrganization>Ministere de la securite publique du Quebec</ContactOrganization>
- </ContactPersonPrimary>
- <ContactPosition></ContactPosition>
- <ContactAddress>
- <AddressType>postal</AddressType>
- <Address>2525, boul. Laurier, 10e etage</Address>
- <City>Quebec</City>
- <StateOrProvince>Quebec</StateOrProvince>
- <PostCode>G1V2L2</PostCode>
- <Country>Canada</Country>
- </ContactAddress>
- <ContactVoiceTelephone></ContactVoiceTelephone>
- <ContactFacsimileTelephone></ContactFacsimileTelephone>
- <ContactElectronicMailAddress></ContactElectronicMailAddress>
- </ContactInformation>
- <Fees>Aucun</Fees>
- <AccessConstraints>L'utilisation des donnees de ce service WMS est sujette aux conditions d'utilisation stipulees par l'entente ou l'accord de licence entre Le Ministere de la securite publique(MSP) et son proprietaire. Ce service WMS est diffuse selon les informations fournies par le proprietaire et n'a aucune valeur legale. Le Ministere de la securite publique n'est pas responsable des erreurs qui pourraient s'y retrouver.</AccessConstraints>
-</Service>
-
-<Capability>
- <Request>
- <GetCapabilities>
- <Format>application/vnd.ogc.wms_xml</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </GetCapabilities>
- <GetMap>
- <Format>image/png</Format>
- <Format>image/gif</Format>
- <Format>image/png; mode=24bit</Format>
- <Format>image/jpeg</Format>
- <Format>image/vnd.wap.wbmp</Format>
- <Format>image/tiff</Format>
- <Format>image/svg+xml</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </GetMap>
- <GetFeatureInfo>
- <Format>text/plain</Format>
- <Format>text/html</Format>
- <Format>application/vnd.ogc.gml</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </GetFeatureInfo>
- <DescribeLayer>
- <Format>text/xml</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </DescribeLayer>
- <GetLegendGraphic>
- <Format>image/png</Format>
- <Format>image/gif</Format>
- <Format>image/png; mode=24bit</Format>
- <Format>image/jpeg</Format>
- <Format>image/vnd.wap.wbmp</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </GetLegendGraphic>
- <GetStyles>
- <Format>text/xml</Format>
- <DCPType>
- <HTTP>
- <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Get>
- <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&"/></Post>
- </HTTP>
- </DCPType>
- </GetStyles>
- </Request>
- <Exception>
- <Format>application/vnd.ogc.se_xml</Format>
- <Format>application/vnd.ogc.se_inimage</Format>
- <Format>application/vnd.ogc.se_blank</Format>
- </Exception>
- <VendorSpecificCapabilities />
- <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
- <Layer>
- <Name>BDGA</Name>
- <Title>La Base de donnees geographiques et administratives</Title>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Attribution>
- <Title>Service pour la securite publique</Title>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.msp.gouv.qc.ca/"/>
- <LogoURL width="211" height="85">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.msp.gouv.qc.ca/imgsite/piv/entete_msp_drapeau.gif"/>
- </LogoURL>
- </Attribution>
- <Layer>
- <Name>bdga</Name>
- <Title>Carte topographique</Title>
- <Abstract>bdga</Abstract>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_HABIT_S_POLY</Name>
- <Title>Zones habitees</Title>
- <Abstract>(1/4 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="133" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_HABIT_S_POLY&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="2000.60042220284" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_HYDRO_S_POLY</Name>
- <Title>Fleuve, lacs, rivieres</Title>
- <Abstract>(1/4 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="189" height="59">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_HYDRO_S_POLY&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_HYDRO_S_ARC</Name>
- <Title>Limites hydrographique</Title>
- <Abstract>(1/4 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="175" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_HYDRO_S_ARC&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="2000.60042220284" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_HYDRO_L_ARC</Name>
- <Title>Rivieres</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="147" height="41">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_HYDRO_L_ARC&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="250.449229911678" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_ENERG_L_ARC</Name>
- <Title>Energie</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="231" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_ENERG_L_ARC&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="501.397362671785" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_TRANS_L_ARC</Name>
- <Title>Transport</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="112" height="41">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_TRANS_L_ARC&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="501.397362671785" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_ROUTE_L_ARC</Name>
- <Title>Routes</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="147" height="257">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_ROUTE_L_ARC&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="1002.79472534357" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_ROUTE_L_ARC_ANNO</Name>
- <Title>Routes annotation</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="119" height="113">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_ROUTE_L_ARC_ANNO&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="501.397362671785" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_HABIT_P_POINT</Name>
- <Title>Ville</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="280" height="113">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_HABIT_P_POINT&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="1002.79472534357" />
- </Layer>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_TRANS_P_POINT</Name>
- <Title>Transport point</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="98" height="41">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_TRANS_P_POINT&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="501.397362671785" />
- </Layer>
- </Layer>
- <Layer>
- <Name>admin</Name>
- <Title>Decoupage administratif</Title>
- <Abstract>admin</Abstract>
- <Layer queryable="0" opaque="0" cascaded="0">
- <Name>BDGA_MUNIC_S_POLY_1M</Name>
- <Title>Municipalite</Title>
- <Abstract></Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="119" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_MUNIC_S_POLY_1M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="4.98902848429637" max="99.7805696859274" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_MRC_S_POLY_1M</Name>
- <Title>Municipalite regionale de compte</Title>
- <Abstract>(1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="56" height="77">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_MRC_S_POLY_1M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="0" max="2000.60042220284" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_REGIO_S_POLY_1M</Name>
- <Title>Region administrative</Title>
- <Abstract>Province de Quebec (1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="182" height="77">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_REGIO_S_POLY_1M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="125.224614955839" max="0" />
- <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_REGIO_S_POLY_1M_2M</Name>
- <Title>Region administrative 2M</Title>
- <Abstract>Province de Quebec (1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="203" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_REGIO_S_POLY_1M_2M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="498.902848429637" max="1002.79472534357" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_REGIO_S_POLY_1M_4M</Name>
- <Title>Region administrative 4M</Title>
- <Abstract>Province de Quebec (1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="203" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_REGIO_S_POLY_1M_4M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="997.805696859274" max="2000.60042220284" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_REGIO_S_POLY_1M_8M</Name>
- <Title>Region administrative 8M</Title>
- <Abstract>Province de Quebec (1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="203" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_REGIO_S_POLY_1M_8M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="1995.61139371855" max="4001.20084440569" />
- </Layer>
- <Layer queryable="1" opaque="0" cascaded="0">
- <Name>BDGA_REGIO_S_POLY_1M_13M</Name>
- <Title>Region administrative 13M</Title>
- <Abstract>Province de Quebec (1/1 000 000)</Abstract>
- <KeywordList>
- <Keyword></Keyword>
- </KeywordList>
- <SRS>EPSG:2036</SRS>
- <SRS>EPSG:2037</SRS>
- <SRS>EPSG:2148</SRS>
- <SRS>EPSG:2149</SRS>
- <SRS>EPSG:2150</SRS>
- <SRS>EPSG:4269</SRS>
- <SRS>EPSG:4326</SRS>
- <SRS>EPSG:26917</SRS>
- <SRS>EPSG:26918</SRS>
- <SRS>EPSG:26919</SRS>
- <SRS>EPSG:26920</SRS>
- <SRS>EPSG:32183</SRS>
- <SRS>EPSG:32184</SRS>
- <SRS>EPSG:32185</SRS>
- <SRS>EPSG:32186</SRS>
- <SRS>EPSG:32187</SRS>
- <SRS>EPSG:32188</SRS>
- <SRS>EPSG:32189</SRS>
- <SRS>EPSG:32190</SRS>
- <SRS>EPSG:32198</SRS>
- <SRS>EPSG:42105</SRS>
- <SRS>EPSG:42304</SRS>
- <LatLonBoundingBox minx="-90.2178" miny="42.8632" maxx="-46.7822" maxy="64.2855" />
- <BoundingBox SRS="EPSG:32198"
- minx="-1.1e+006" miny="-23500" maxx="1.1e+006" maxy="2.2535e+006" />
- <Style>
- <Name>default</Name>
- <Title>default</Title>
- <LegendURL width="210" height="23">
- <Format>image/png</Format>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://127.0.0.1:9090/cgi-bin/mapserv?map=c:/demo/bdga-mapfish/ms4w/bdga/msp/wms/bdga.map&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=BDGA_REGIO_S_POLY_1M_13M&format=image/png&STYLE=default"/>
- </LegendURL>
- </Style>
- <ScaleHint min="3991.2227874371" max="0" />
- <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
- </Layer>
- </Layer>
- </Layer>
-</Capability>
-</WMT_MS_Capabilities>
Added: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/store.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/store.js (rev 0)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/store.js 2010-03-16 20:48:48 UTC (rev 1978)
@@ -0,0 +1,11 @@
+var oServerStore = new Ext.data.SimpleStore({
+ fields: ['url'],
+ data : [
+ ['./data/wmscap.xml'],
+ // on WINDOZE machines, you need to specify DOUBLE
+ // backslashes for file paths
+ ['http://127.0.0.1:9090/cgi-bin/mapserv.exe?map=C:\\demo\\bdga-mapfish\\ms4w\\apps\\bdga\\msp\\wms\\bdga.map'],
+ ["http://127.0.0.1/cgi-bin/mapserv?map=/home/adube/proj/bdga/msp/wms/bdga.map"],
+ ['http://dev4g.mapgears.com/cgi-bin/mapserv?map=/home/mapgears/proj/geoprisma-demo/map/gmap/gmap75_wms.map']
+ ]
+});
Property changes on: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/examples/store.js
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/lib/GeoExt.ux/widgets/WMSLayerAdder.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/lib/GeoExt.ux/widgets/WMSLayerAdder.js 2010-03-16 19:20:56 UTC (rev 1977)
+++ sandbox/mapgears/geoext.ux/ux/WMSLayerAdder/lib/GeoExt.ux/widgets/WMSLayerAdder.js 2010-03-16 20:48:48 UTC (rev 1978)
@@ -58,6 +58,7 @@
*/
constructor: function(config) {
this.serverStore = config.serverStore || null;
+ this.gridPanelOptions = config.gridPanelOptions || this.gridPanelOptions;
OpenLayers.Util.applyDefaults(
this.capabilitiesParams, this.defaultCapabilitiesParams);
@@ -191,6 +192,13 @@
buttonAlign:'center',
items: []
};
+
+ // WMSCapabilitiesStore on blank url on start
+ this.capStore = new GeoExt.data.WMSCapabilitiesStore({'url': ""});
+ this.capStore.on('load', this.onWMSCapabilitiesStoreLoad, this);
+
+ oCenterPanel.items.push(this.createGridPanel(this.capStore));
+ oCenterPanel.items.push(this.createFormPanel());
oItems.push(oCenterPanel);
@@ -212,33 +220,28 @@
url = OpenLayers.ProxyHost + encodeURIComponent(url);
}
- // create a store from the url
- this.createWMSCapabilitiesStore(url);
+ // change the url of the capability store proxy
+ this.capStore.proxy.setUrl(url);
+ this.capStore.proxy.setApi(Ext.data.Api.actions.read, url);
- // remove the grid and form panels from the container and recreate them
- var panel = Ext.getCmp('wms_capabilities_panel')
- this.removeAllItemsFromObject(panel);
- panel.add(this.createGridPanel());
- panel.add(this.createFormPanel());
- panel.doLayout();
+ this.capStore.load();
},
removeAllItemsFromObject: function(object){
while(object.items.length != 0){
var oItem = object.items.items[0];
object.remove(oItem, true);
+ oItem.destroy();
}
},
createWMSCapabilitiesStore: function(url) {
- this.WMSCapabilitiesStore =
- new GeoExt.data.WMSCapabilitiesStore({'url': url});
- this.WMSCapabilitiesStore.on(
- 'load', this.onWMSCapabilitiesStoreLoad, this);
- this.WMSCapabilitiesStore.load();
+ var store = new GeoExt.data.WMSCapabilitiesStore({'url': url});
+ store.on('load', this.onWMSCapabilitiesStoreLoad, this);
+ return store;
},
- createGridPanel: function() {
+ createGridPanel: function(store) {
var columns = [
{ header: OpenLayers.i18n('Add'),
dataIndex: "srsCompatible", hidden: false,
@@ -260,7 +263,7 @@
id: 'wms_capabilities_grid_panel',
columnWidth: 0.5,
layout: 'fit',
- store: this.WMSCapabilitiesStore,
+ store: store,
columns: columns,
// SelectionModel
sm: new Ext.grid.RowSelectionModel({
@@ -335,7 +338,7 @@
xtype: 'textarea',
fieldLabel: OpenLayers.i18n('Description'),
name: 'abstract',
- anchor: '100% -30'
+ anchor: '100% -75'
}]
};
More information about the Commits
mailing list