[Qgis-developer] Re: [Qgis-user] Re: Available CRS's not shown with some WMS servers

Borys Jurgiel borysiasty at aster.pl
Mon Aug 16 06:42:51 EDT 2010


Dnia poniedziałek 16 sierpnia 2010 o 12:19:43 Goyo napisał(a):
> 2010/8/11 Goyo <goyodiaz at gmail.com>:
> >> I'm trying this server:
> >> http://www.idee.es/wms/PNOA/PNOA
> >> 
> >> When I choose a layer the dialog says there is one CRS available but
> >> none is selected by default (see attached screenshot). If I press the
> >> Change button no CRS is available. This used to work in 1.4.0 and in
> >> 1.5.0 after my report and the fix.
> 
> I found a workarount to show the layers in this server setting the CRS
> in the properties dialog, then saving and reloading the project. Still
> QGis don't get the available CRS's from the getcapabilities document
> but I can't find anything wrong in it.

In the getcapabilities response there is a strange line:

<SRS>EPSG:4230 EPSG:4258 EPSG:4326 EPSG:25828 EPSG:25829 EPSG:25830 EPSG:25831 
EPSG:23029 EPSG:23030 EPSG:23031 EPSG:32628 EPSG:32629 EPSG:32630 
EPSG:32631</SRS>

Personally, I've never seen a series of SRSes put together in one line. 
Usually it looks like that:

<SRS>EPSG:4230</SRS>
<SRS>EPSG:4258</SRS>
<SRS>EPSG:4326</SRS>
...

Could somebody state if it breaks the OGC WMS specification or not? If not, we 
should adapt this format too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100816/40e2c30d/attachment.html


More information about the Qgis-developer mailing list