Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS / WFS not valid SRS requests #11226

Closed
qgib opened this issue Jul 17, 2008 · 5 comments
Closed

WMS / WFS not valid SRS requests #11226

qgib opened this issue Jul 17, 2008 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jul 17, 2008

Author Name: LuizDomingues53 - (LuizDomingues53 -)
Original Redmine Issue: 1166

Redmine category:web_services_clients/wms
Assignee: nobody -


Projection selection for WMS / WFS is buggy. Invalid CRS requested seems
related to problems parsing the REQUEST=GetCapabilities response, with
lead to invalid options.

##Portuguese message translated back to english (may be different in original).##
It is impossible to draw  WMS RGA GMap  because:
Request contains a SRS not supported by the server for one or more layers.
Vendor WMS also reported: 
msWMSLoadGetMapParams(): WMS server error. Unsupported SRS namespace 
(only EPSG and AUTO currently supported).

Possible 'bug' of QGIS. Please report.
URL tentada: http://localhost/cgi-bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs
/gmap75_wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&
BBOX=-172.367000,35.667300,-11.562400,83.829300&SRS=CRS:84&WIDTH=722&HEIGHT=217&
LAYERS=bathymetry&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE

For better interoperation with [[MapServer]] and avoid this kind of error,
I suggest the distribution of MS4W epsg file (really a merge of
epsg and esri files with some additions).

@qgib
Copy link
Contributor Author

qgib commented Aug 1, 2008

Author Name: Tim Sutton (Tim Sutton)


Hi

Could you give a public server url to test against? Its not possibly to test using the url you provided since the url is on your localhost. Also I'm changing the severity of this ticket to major as it doesnt seem to actually be causing a crash or any data corruption. Also the epsg file we use is the one maintained for gdal & proj, which should be the basis of the one used for mapserver too. The qgis EGSG database was updated prior to release of 0.11.0 'Metis' to be in sync with current proj4 / gdal epsg database. I'm marking this ticket 'pending user feedback' and will close it in a few weeks if no feedback has been received.

I see that its trying to use : SRS=CRS:84

What is the expected EPSG? Also 84?

Are you using 'on the fly' projection?

The more detail you can give me the better.

Muito obrigado!

Tim

@qgib
Copy link
Contributor Author

qgib commented Aug 4, 2008

Author Name: LuizDomingues53 - (LuizDomingues53 -)


You can try (usually up from 22h00 to 02h00 UTC, I will keep it 24h up
for next days)
"Don't miss this final "&" (see ticket #11225 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":http://rgaeng.dynalias.com/cgi-bin/mapserv.exe?MAP=/ms4w/apps/gmap/htdocs/gmap75_wms.map&]
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).

@qgib
Copy link
Contributor Author

qgib commented Apr 20, 2009

Author Name: Paolo Cavallini (@pcav)


Is this still valid? Please check and add further info, or close the ticket if it has been solved.

@qgib
Copy link
Contributor Author

qgib commented Jul 11, 2009

Author Name: Giovanni Manghi (@gioman)


Plase check again and verify if this still valid and/or add a url we can test. Post also the mapfile if you can.

@qgib
Copy link
Contributor Author

qgib commented Jul 18, 2009

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback. Reopen if necessary.


  • resolution was changed from to wontfix
  • status_id was changed from Open to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant