[QGIS-trac] Re: [Quantum GIS] #1166: WMS / WFS not valid SRS requests

Quantum GIS qgis at qgis.org
Tue Aug 5 01:16:37 EDT 2008


#1166: WMS / WFS not valid SRS requests
-----------------------------------------------------+----------------------
        Reporter:  LuizDomingues53                   |         Owner:  nobody       
            Type:  bug                               |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.0
       Component:  WMS                               |       Version:  0.11.0       
      Resolution:                                    |      Keywords:  WMS WFS      
Platform_version:                                    |      Platform:  Windows      
        Must_fix:  No                                |   Status_info:  1            
-----------------------------------------------------+----------------------
Comment (by LuizDomingues53):

 You can try (usually up from 22h00 to 02h00 UTC, I will keep it 24h up
 for next days)
   [http://rgaeng.dynalias.com/cgi-
 bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs/gmap75_wms.map&]

 Don't miss this final "&" (see ticket #1165 about this bug).

 Other (better) option: 1) Install the WS4W for Windows from MapTools.org:
       [http://www.maptools.org/dl/ms4w/ms4w_2.2.7.zip]
   Just unzip on the C-drive, reconfig Apache for a free port and start it.
 2) Install PHP/MapScript Sample Application:
       [http://www.maptools.org/dl/ms4w/gmap_ms4w_ms5.zip]

 And here is the problem: this demo uses "NAD83 LCC for Canada" projection,
 with a custom EPSG:42304 code (>32767). This code is correctly listed as
 the source projection but it is unknown to QGIS.

 I couldn't define a Custom Projection and attach it to this layer using
 the "Define Layer Projection" dialog (BTW: a Cancel option is missing
 here). This dialog seems to be buggy. I defined the Project to this Custom
 Projection but it doesn't worked.

 QGIS assumed SRS=CRS:84 as project default and draw a metric unknown
 projection map (xMin,yMin -2.26131e+06,-67422.4 : xMax,yMax
 2.84037e+06,3.83012e+06) assuming degrees. Not an "on the fly"
 reprojection, only a mistake.

 I was specting to define this layer projection and use it for the project
 (this was the first layer in project).

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1166#comment:2>
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