[Geoserver-devel] [JIRA] (GEOS-7575) Decimal separator prevents from creating data store as cascaded from another server

Jose Daniel Gomez de Segura created an issue

GeoServer / BugGEOS-7575

Decimal separator prevents from creating data store as cascaded from another server

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Unassigned

Components:

WMS

Created:

06/Jun/16 6:14 PM

Environment:

Ubuntu 16.04 LTS

Labels:

geoserver wms

Priority:

LowLow

Reporter:

Jose Daniel Gomez de Segura

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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.25.1#100000-sha1:fa89b69)

Atlassian logo