#88 closed enhancement (fixed)
Add WMS 'version' support (including 1.3.0)
Reported by: | yvesm | Owned by: | adube |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
Add WMS 1.3.0 support in the Map widget. By default OpenLayers asks for WMS 1.1.1. We could probably add a DataStore option which is the Version of the protocol and pass that to OL Layer object though. that would fix the problem.
Change History (8)
comment:1 by , 14 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Status: | new → assigned |
---|
follow-up: 4 comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | Add WMS 1.3.0 support → Add WMS 'version' support (including 1.3.0) |
follow-up: 5 comment:4 by , 14 years ago
- A fix the the MapServer issue when using 1.3.0 in OpenLayers, see ticket 2478
That ticket isn't closed AFAICT. Is the patch mentioned in the ticket in OL trunk ? In short, do we just need a fresh checkout of GP and all versions of WMS now work ?
Thanx !
comment:5 by , 14 years ago
Replying to yvesm:
- A fix the the MapServer issue when using 1.3.0 in OpenLayers, see ticket 2478
That ticket isn't closed AFAICT. Is the patch mentioned in the ticket in OL trunk ? In short, do we just need a fresh checkout of GP and all versions of WMS now work ?
Thanx !
Yes, you only need to have a fresh checkout of GP and all WMS versions should work.
comment:6 by , 14 years ago
There's a small bug in the GeoPrisma sample : if one select an area where there's only a province, one gets 1 grid with tab title = "GMap Provinces". If one clicks on a city, one gets two tabs with the same name (GMap Cities). Same behaviour when clicks on a Park + Province.
follow-up: 8 comment:7 by , 14 years ago
Please open a new ticket explaining the bug since it has nothing to do with this one. Thanks for reporting.
comment:8 by , 14 years ago
Replying to adube:
Please open a new ticket explaining the bug since it has nothing to do with this one. Thanks for reporting.
Right. See : #170
A somewaht related issue though is tried the following urls from my local version of the sample :
GetMap 1.3.0
GetMap 1.1.1
I thought specifying VERSION=1.1.1 would mean I need to invert the coordinates of my BBOX but it is not so. I get the same image back irrespective of the VERSION number. Why ?
Also, if I specify VERSION-1.1.25 (not an existing standard #), I still get an image back. Is it because MapServer has a default VERSION ?
What I'm trying to do is find out how to set up a WMS 1.3.0 server using MapServer so I can test locally. Apparently, specifying the version query parameter does not force the service to behave as that version ??
TIA
done with r847, featuring :
Tested with all drivers, including PGSQLMapContextConfig ('version' service option added in .sql of sample)
All WMS versions are now supported.