[QGIS-trac] [Quantum GIS] #1589: problem visualizing WMS defined with a EPSG:NONE srs

Quantum GIS qgis at qgis.org
Tue Mar 24 16:47:52 EDT 2009


#1589: problem visualizing WMS defined with a EPSG:NONE srs
-----------------------------------------------+----------------------------
   Reporter:  francesco                        |              Owner:  nobody       
       Type:  bug                              |             Status:  new          
   Priority:  minor: annoyance or enhancement  |          Milestone:  Version 1.0.2
  Component:  WMS                              |            Version:  HEAD         
   Keywords:  EPSG:NONE, visualize WMS         |   Platform_version:               
   Platform:  All                              |           Must_fix:  No           
Status_info:  0                                |  
-----------------------------------------------+----------------------------
 Hello all !

 We have small problem, with our WMS service and qGis.

 We expose some data in WMS, but we have a customized reference system,
 so we don't have a standard EPSG number.
 We expose, then, these data with the "EPSG: NONE" declaration.

 We are aware that the OGC directive on the WMS 1.1.1 defines only the
 declaration "SRS=NONE", but in the Esri products (WMS server and
 client) define the SRS="EPSG:NONE" declaration (for the 9.2 version)
 and SRS="EPSG:0" for the 9.3 version.


 For example, if I call a WMS with this layer definition in his
 Capabilities file:


 <Layer queryable="0">
 <Name>158_UTMA_ORTOAGEA2008</Name>
 <Title>158_UTMA_ORTOAGEA2008</Title>
 <SRS>EPSG:NONE</SRS>
 <LatLonBoundingBox minx="9.1600714390999993" miny="43.672498615800002"
 maxx="12.9109804049" maxy="45.156071086600001" />
 <BoundingBox SRS="EPSG:NONE" minx="512973.566244238" miny="842599.75"
 maxx="807851.62554267596" maxy="1000499.3733534738" />
 <Abstract>158_UTMA_ORTOAGEA2008 (Cellsize=0.5, BitsPerPixel=8)</Abstract>
 </Layer>


 then qGis calls this layer with this request:


 ?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=158_UTMA_ORTOAGEA2008&STYLES=&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=CRS:84&BBOX=9.1600714390999993,43.672498615800002,12.9109804049,45.156071086600001&FORMAT=image/jpeg&WIDTH=640&HEIGHT=373


 It seems that qGis is not recognizing the EPSG:NONE, while with others
 WMS clients (ArcMap, Gaia, uDig, GvSig) this layer is requested
 calling the EPSG:NONE and it is visualized correctly.

 Would be nice that also qGis keeps the SRS definition in the
 Capabilities file and calls the request GetMap with that SRS.

 Thanks,
 francesco

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1589>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list