I am trying to create a proxy for a remote WMS server. The external server is from the Spanish Geological and Mine Institue, whose information can be queried
here
I have noticed that this service works, while this one fails.
The xml returned by a GetCapabilities differ in both cases. The one that works is using ‘.’ as decimal separator:
<Layer>
<Title>IGME - Mapa Geológico de España 1:50.000 (MAGNA)</Title>
<SRS>EPSG:4326</SRS>
<SRS>EPSG:4258</SRS>
<SRS>EPSG:4230</SRS>
<SRS>EPSG:23028</SRS>
<SRS>EPSG:23029</SRS>
<SRS>EPSG:23030</SRS>
<SRS>EPSG:23031</SRS>
<SRS>EPSG:25828</SRS>
<SRS>EPSG:25829</SRS>
<SRS>EPSG:25830</SRS>
<SRS>EPSG:25831</SRS>
<LatLonBoundingBox minx="-22.718865" miny="26.602223" maxx="6.256604" maxy="44.659923"/>
<BoundingBox SRS="EPSG:4326" minx="-27.259217079" miny="21.518690439" maxx="10.280182975" maxy="49.593028086"/>
However, the problematic one uses ‘,’ for such purpose:
<Layer>
<Title><![CDATA[IGME - Cartografía Geológica Continua GEODE 50]]></Title>
<SRS>EPSG:4326</SRS>
<SRS>EPSG:3857</SRS>
<!-- alias 3857 -->
<SRS>EPSG:102100</SRS>
<SRS>EPSG:4258</SRS>
<SRS>EPSG:4230</SRS>
<SRS>EPSG:23028</SRS>
<SRS>EPSG:23029</SRS>
<SRS>EPSG:23030</SRS>
<SRS>EPSG:23031</SRS>
<SRS>EPSG:25828</SRS>
<SRS>EPSG:25829</SRS>
<SRS>EPSG:25830</SRS>
<SRS>EPSG:25831</SRS>
<LatLonBoundingBox minx="-18,167854" miny="27,584434" maxx="4,481668" maxy="43,834426"/>
<BoundingBox SRS="EPSG:4326" minx="-18,167854" miny="27,584434" maxx="4,481668" maxy="43,834426"/>
<BoundingBox SRS="EPSG:3857" minx="-2022436,262654" miny="3196680,739894" maxx="498896,996436" maxy="5439854,864621"/>
I have not seen any configurable options to handle such format, and the external server is out of my control. Other GIS products, such as QGIS, are working perfectly, which makes me think of a possible bug.
|