[OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Jacolin Yves
Hello, I am using WMC OGC service to allow users to print my map with another design. Using multi-URL in OL give something like this in the WMC context: Layer queryable=0 hidden=1 Server service=OGC:WMS version=1.1.1 OnlineResource xlink:type=simple

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread bwoodall
Howdy, try taking a look at http://trac.openlayers.org/wiki/OpenLayersOptimization#multipleURLs or the example http://openlayers.org/dev/examples/multiserver.html for your OL URL ...Bill, On Thu, 2009-04-23 at 10:06 +0200, Jacolin Yves wrote: Hello, I am using WMC OGC service to allow

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Jacolin Yves
Bill, Thanks for your reply, but multi-url is already working correctly in my web application. However the problem came when I use WMC context. The multi-url is joined together in a string in the url and not splited in an array after importing the WMC context. Same issue in OL 2.8rc

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Andreas Hocevar
Hi Yves, the problem is that there is no concept of multiple server urls in WMC. If you look at the schema for WMC 1.1, you will see that the ServerType in the Layer has exactly one occurrence, and the OnlineResource inside the ServerType also has exactly one occurrence. So the issue in

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Jacolin Yves
Hi Andreas, Thanks for your reply. Indeed it sounds normal among the WMC spec. Here is the tickets : http://trac.openlayers.org/ticket/2059 I am not sure if I am able to provide a patch as I am not a javascript developer. Regards, Y. Le Thursday 23 April 2009 11:11:40 Andreas Hocevar, vous

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Kralidis,Tom [Ontario]
- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Jacolin Yves Sent: Thursday, 23 April 2009 05:33 To: Users@openlayers.org Subject: Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7 Hi Andreas, Thanks for your reply. Indeed it sounds

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Andreas Hocevar
Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Jacolin Yves Sent: Thursday, 23 April 2009 05:33 To: Users@openlayers.org Subject: Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7 Hi Andreas, Thanks for your reply. Indeed it sounds

Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7

2009-04-23 Thread Kralidis,Tom [Ontario]
-Original Message- From: Andreas Hocevar [mailto:ahoce...@opengeo.org] Sent: Thursday, 23 April 2009 08:55 To: Kralidis,Tom [Ontario] Cc: Jacolin Yves; Users@openlayers.org Subject: Re: [OpenLayers-Users] WMC and multi-url in OpenLayers 2.7 Kralidis,Tom [Ontario] wrote