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

Jacolin Yves yjacolin at free.fr
Thu Apr 23 04:06:52 EDT 2009


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" 
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href=" 
http://www.lpdipro.dev.local/tilecache/tilecache.py, 
http://www1.lpdipro.dev.local/tilecache/tilecache.py, 
http://www2.lpdipro.dev.local/tilecache/tilecache.py, 
http://www3.lpdipro.dev.local/tilecache/tilecache.py"/>
  </Server>
  <Name>ratp_ligne_metro</Name>
  <Title>ratp_ligne_metro</Title>

I added space between each url to improve readability. 

In OL code, after applying the context, the url of tile are:
http://www.lpdipro.dev.local/tilecache/tilecache.py,
http://www1.lpdipro.dev.local/tilecache/tilecache.py,
http://www2.lpdipro.dev.local/tilecache/tilecache.py,
http://www3.lpdipro.dev.local/tilecache/tilecache.py?
VERSION=1.1.1&FORMAT=image%2Fjpeg&
LAYERS=cadastre&SERVICE=WMS&REQUEST=GetMap&
STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&
SRS=EPSG%3A900913&BBOX=89321.71190000002,6171789.4407,245864.74580000003,6328332.4746&
WIDTH=256&HEIGHT=256

Again return line and space added for readability.

Is it something known and how to correct this? Do I need to create a bug 
report, example? 

Thanks,

Y.
PS : I am going to test the new OL 2.8RC1 release.
-- 
Yves Jacolin

Ne demandez pas si vous pouvez contribuer, contribuer ! :)
---
http://softlibre.gloobe.org



More information about the Users mailing list