Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Yves Moisan



3- That may not be obvious, but MapServer honors the VERSION that you
set in a GetMap request...

Hi Daniel,

I would say it's confusing to see VERSION=1. going through ...


it's just that it works with ranges of
versions for each version-specific difference in the spec instead of
discrete version numbers in an attempt to be forgiving of clients that
support only intermediate versions that MapServer may not be explicitly
built for. More specifically:

(0.0.0<  VERSION<  1.0.7) is treated as 1.0.0

(1.0.7<= VERSION<  1.1.0) is treated as 1.0.7

(1.1.0<= VERSION<  1.1.1) is treated as 1.1.0

(1.1.1<= VERSION<  1.3.0) is treated as 1.1.1

(VERSION>= 1.3.0) is treated as 1.3.0


A word from a coder is worth a thousand [GetMap] images ;-).  That's 
really clear.  But misleading for the client/map integrator IMO.

4- After seeing this thread, I would tend to lean towards producing an
exception if version is not one of the explicitly supported values to
prevent any confusion (i.e. anything not in the following list would
produce an exception: 1.0.0, 1.0.6, 1.0.7, 1.1.0, 1.1.1 and 1.3.0)

I think that's a very sensible solution.  Especially since the VERSION 
parameter is required.  Trying to push a GetMap request without a 
VERSION url parameter already generates an error : "msWMSDispatch(): WMS 
server error. Incomplete WMS request: VERSION parameter missing".  I 
think failing to find an explicit VERSION number in a set of allowed 
values should trigger a similar exception,  something along the lines of 
"msWMSDispatch(): WMS server error. Offending (or misformed or 
something) WMS request: VERSION parameter not in {1.0.0, 1.0.6, 1.0.7, 
1.1.0, 1.1.1, 1.3.0}".


That behaviour would at least comfort me as a user that the VERSION 
number I'm passing in is the one used, short of having a response header 
confirming that (which appears to be an impossible task anyways).


Thanx,

Yves

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Daniel Morissette
Daniel Morissette wrote:
> That also explains why 1. works, your
> request should have been treated as 1.1.1 according to the rules above.
> 

Er... 1. should probably end up being treated as 1.3.0, but a value
larger than 256 for any of the three digits of the WMS version string
would overflow in the other digit in our implementation, so keep that in
mind if you decide to play that game.

-- 
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Daniel Morissette
Let me try to clarify a few things:

1- The default version that is mentioned in ticekt 3444 would be only
for GetCapabilities and would essentially be a hint for MapServer to
give preference to that version in a GetCapabilities response if no
version is specified.

2- There CANNOT be a default version applied to GetMap as this would be
contrary to the spec. (And MapServer does not apply a default version in
GetMap's case)

3- That may not be obvious, but MapServer honors the VERSION that you
set in a GetMap request... it's just that it works with ranges of
versions for each version-specific difference in the spec instead of
discrete version numbers in an attempt to be forgiving of clients that
support only intermediate versions that MapServer may not be explicitly
built for. More specifically:

(0.0.0 < VERSION < 1.0.7) is treated as 1.0.0

(1.0.7 <= VERSION < 1.1.0) is treated as 1.0.7

(1.1.0 <= VERSION < 1.1.1) is treated as 1.1.0

(1.1.1 <= VERSION < 1.3.0) is treated as 1.1.1

(VERSION >= 1.3.0) is treated as 1.3.0

Now, while double-checking this I found that the GetCapabilities code
that handles version negociation may not follow exactly this logic for
the 1.3.0 case and this will need a review and fix, but other than that,
that's how most of the logic works for the GetMap and other differences
between WMS spec versions. That also explains why 1. works, your
request should have been treated as 1.1.1 according to the rules above.

4- After seeing this thread, I would tend to lean towards producing an
exception if version is not one of the explicitly supported values to
prevent any confusion (i.e. anything not in the following list would
produce an exception: 1.0.0, 1.0.6, 1.0.7, 1.1.0, 1.1.1 and 1.3.0)

Daniel


Bart van den Eijnden wrote:
> I think it is a bad idea to default to a certain version in GetMap.
> Version is a required parameter and an exception should be thrown if a
> version is not known. Also to avoid issues that Yves M has raised.
> 
> Bart
> 
> Sent from my iPhone
> 
> On Nov 10, 2010, at 4:18 PM, Yves Moisan  > wrote:
> 
>> Le 2010-11-09 21:48, Jeff McKenna a écrit :
>>> Hello Yves,
>> Hi Jeff,
>>>
>>> Some related thoughts:
>>>
>>> - related ticket for configuring default WMS version:
>>> http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to
>>> the CC list of that ticket and join in the discussions and testing
>>> and feedback, thanks
>> I added myself in the cc list.  The description of that ticket says
>> "For example in WMS if the version parameter is not set, MapServer
>>  usually defaults to
>> the latest supported version (1.3.0)."  If I read this correctly, if I
>> change MapServer from 5.2.x to 5.6 and I happen to be working with
>> EPSG codes that have their axes flipped between 1.1.1 and 1.3.0, my
>> WMS requests won't work anymore IF i didn't specify a version number. 
>> Ouch. 
>>
>> Also, what happens if I specify a non existent, but valid, number like
>> 1. ?  I know an image is an image as Jukka mentioned, but how do I
>> know how MapServer interpreted my faulty version number ?  Does it
>> default to the latest supported version too ?
>>
>>> - doc pointers:
>>> http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support
>>> ...specifically see the 2 working 1.3.0 example requests there
>>
>> I've seen those.  I can see the request parameters all right, it's
>> just that I'm not sure how MapServer reacts.  I know it chokes if I
>> send VERSION=abc, but it will send me an image whatever I use for a
>> version number as long as it is of the forms x.y or x.y.z. 
>> VERSION=1234.4567.890 will work !  Because I get only an image back,
>> how do I know how MS handled the request ?  Is there a response header
>> I'm missing somewhere ?
>>
>> Thanx.
>>
>> Yves
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Bart van den Eijnden
I think it is a bad idea to default to a certain version in GetMap. Version is 
a required parameter and an exception should be thrown if a version is not 
known. Also to avoid issues that Yves M has raised.

Bart

Sent from my iPhone

On Nov 10, 2010, at 4:18 PM, Yves Moisan  wrote:

> Le 2010-11-09 21:48, Jeff McKenna a écrit :
>> 
>> Hello Yves, 
> Hi Jeff,
>> 
>> Some related thoughts: 
>> 
>> - related ticket for configuring default WMS version: 
>> http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC 
>> list of that ticket and join in the discussions and testing and feedback, 
>> thanks 
> I added myself in the cc list.  The description of that ticket says "For 
> example in WMS if the version parameter is not set, MapServer usually 
> defaults to the latest supported version (1.3.0)."  If I read this correctly, 
> if I change MapServer from 5.2.x to 5.6 and I happen to be working with EPSG 
> codes that have their axes flipped between 1.1.1 and 1.3.0, my WMS requests 
> won't work anymore IF i didn't specify a version number.  Ouch.  
> 
> Also, what happens if I specify a non existent, but valid, number like 1. 
> ?  I know an image is an image as Jukka mentioned, but how do I know how 
> MapServer interpreted my faulty version number ?  Does it default to the 
> latest supported version too ?
> 
>> - doc pointers: 
>> http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support 
>> ...specifically see the 2 working 1.3.0 example requests there 
> 
> I've seen those.  I can see the request parameters all right, it's just that 
> I'm not sure how MapServer reacts.  I know it chokes if I send VERSION=abc, 
> but it will send me an image whatever I use for a version number as long as 
> it is of the forms x.y or x.y.z.  VERSION=1234.4567.890 will work !  Because 
> I get only an image back, how do I know how MS handled the request ?  Is 
> there a response header I'm missing somewhere ?
> 
> Thanx.
> 
> Yves
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Yves Moisan

Le 2010-11-09 21:48, Jeff McKenna a écrit :

Hello Yves,

Hi Jeff,


Some related thoughts:

- related ticket for configuring default WMS version: 
http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to 
the CC list of that ticket and join in the discussions and testing and 
feedback, thanks
I added myself in the cc list.  The description of that ticket says "For 
example in WMS if the version parameter is not set, MapServer 
 usually defaults to the 
latest supported version (1.3.0)."  If I read this correctly, if I 
change MapServer from 5.2.x to 5.6 and I happen to be working with EPSG 
codes that have their axes flipped between 1.1.1 and 1.3.0, my WMS 
requests won't work anymore IF i didn't specify a version number.  Ouch.


Also, what happens if I specify a non existent, but valid, number like 
1. ?  I know an image is an image as Jukka mentioned, but how do I 
know how MapServer interpreted my faulty version number ?  Does it 
default to the latest supported version too ?


- doc pointers: 
http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support 
...specifically see the 2 working 1.3.0 example requests there


I've seen those.  I can see the request parameters all right, it's just 
that I'm not sure how MapServer reacts.  I know it chokes if I send 
VERSION=abc, but it will send me an image whatever I use for a version 
number as long as it is of the forms x.y or x.y.z.  
VERSION=1234.4567.890 will work !  Because I get only an image back, how 
do I know how MS handled the request ?  Is there a response header I'm 
missing somewhere ?


Thanx.

Yves

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Yves Jacolin
Hum ok.

Thanks Bart !

Y.
Le mercredi 10 novembre 2010 15:32:50, Bart van den Eijnden (OSGIS) a écrit :
> Yves,
> 
> this is only true for the GetCapabilities operation. Not for operations
> such as GetMap.
> 
> Best regards,
> Bart
> 
> > Yves,
> > 
> > About the version parameter value: it only says which version you want
> > to, not
> > the one the WMS serveur **should** use. If WMS server can't serve this
> > version, it will try the higher it can if client version > server version
> > or
> > the lower it can if client version < server version. The client version
> > is the
> > version value in the url, asked by the client.
> > 
> > Regards,
> > 
> > Y.
> > 
> > Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit :
> >> Hello Yves,
> >> 
> >> Some related thoughts:
> >> 
> >> - related ticket for configuring default WMS version:
> >> http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to
> >> the CC list of that ticket and join in the discussions and testing and
> >> feedback, thanks
> >> - doc pointers:
> >> http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support
> >> ...specifically see the 2 working 1.3.0 example requests there
> >> 
> >> -jeff
> >> 
> >> > Hi All,
> >> > 
> >> > I tried to look for an answer to the question "what do I have to do to
> >> > get MapServer to serve a 1.3.0 WMS by default" and I haven't found
> >> 
> >> yet.
> >> 
> >> > Is there anything to do in the mapfile per se or is it just by the
> >> > virtue of having a version >= 5.4 ? I thought the latter but then I
> >> > tried things like :
> >> > 
> >> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&;
> >> > BBO X=-5175875.27581...&WIDTH=1605&HEIGHT=316
> >> > 
> >> > 
> >> > and
> >> > 
> >> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&;
> >> > BBO X=-5175875.27581...&WIDTH=1605&HEIGHT=316
> >> > 
> >> > 
> >> > and wondered if I'm getting back the response from a 1.3.0 in the
> >> 
> >> first
> >> 
> >> > case and a 1.1.1 in the second case. Both images were the same, so I
> >> > thought everything was fine until I tried an unexisting version number
> >> > (e.g. 1.1.122) and still got back an image !
> >> > 
> >> > The only error message that made me think MS was indeed looking at the
> >> > version number is when I submitted VERSION=abc. then MS complained it
> >> > wanted "x.y" or "x.y.z". So how can I tell I get a real WMS with my
> >> > specified version number instead of what appears to be a default one ?
> >> > 
> >> > Doc pointers appreciated.
> >> 
> >> ___
> >> mapserver-users mailing list
> >> mapserver-users@lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > --
> > Responsable Formation et Support
> > Camptocamp France SAS
> > Savoie Technolac, BP 352
> > 73377 Le Bourget du Lac, Cedex
> > 
> > Tel (France) : +33 4 79 26 57 98
> > Tel (Suisse) : +41 21 619 1031
> > Mob. : +33 6 18 75 42 21
> > Fax : 04 79 70 15 81
> > Mail : yves.jaco...@camptocamp.com
> > http://www.camptocamp.com
> > ___
> > mapserver-users mailing list
> > mapserver-users@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Bart van den Eijnden (OSGIS)
Yves,

this is only true for the GetCapabilities operation. Not for operations
such as GetMap.

Best regards,
Bart

> Yves,
>
> About the version parameter value: it only says which version you want to,
> not
> the one the WMS serveur **should** use. If WMS server can't serve this
> version, it will try the higher it can if client version > server version
> or
> the lower it can if client version < server version. The client version is
> the
> version value in the url, asked by the client.
>
> Regards,
>
> Y.
> Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit :
>> Hello Yves,
>>
>> Some related thoughts:
>>
>> - related ticket for configuring default WMS version:
>> http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to
>> the CC list of that ticket and join in the discussions and testing and
>> feedback, thanks
>> - doc pointers:
>> http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support
>> ...specifically see the 2 working 1.3.0 example requests there
>>
>> -jeff
>>
>> > Hi All,
>> >
>> > I tried to look for an answer to the question "what do I have to do to
>> > get MapServer to serve a 1.3.0 WMS by default" and I haven't found
>> yet.
>> > Is there anything to do in the mapfile per se or is it just by the
>> > virtue of having a version >= 5.4 ? I thought the latter but then I
>> > tried things like :
>> >
>> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&BBO
>> > X=-5175875.27581...&WIDTH=1605&HEIGHT=316
>> >
>> >
>> > and
>> >
>> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&BBO
>> > X=-5175875.27581...&WIDTH=1605&HEIGHT=316
>> >
>> >
>> > and wondered if I'm getting back the response from a 1.3.0 in the
>> first
>> > case and a 1.1.1 in the second case. Both images were the same, so I
>> > thought everything was fine until I tried an unexisting version number
>> > (e.g. 1.1.122) and still got back an image !
>> >
>> > The only error message that made me think MS was indeed looking at the
>> > version number is when I submitted VERSION=abc. then MS complained it
>> > wanted "x.y" or "x.y.z". So how can I tell I get a real WMS with my
>> > specified version number instead of what appears to be a default one ?
>> >
>> > Doc pointers appreciated.
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> --
> Responsable Formation et Support
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
>
> Tel (France) : +33 4 79 26 57 98
> Tel (Suisse) : +41 21 619 1031
> Mob. : +33 6 18 75 42 21
> Fax : 04 79 70 15 81
> Mail : yves.jaco...@camptocamp.com
> http://www.camptocamp.com
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-10 Thread Yves Jacolin
Yves,

About the version parameter value: it only says which version you want to, not 
the one the WMS serveur **should** use. If WMS server can't serve this 
version, it will try the higher it can if client version > server version or 
the lower it can if client version < server version. The client version is the 
version value in the url, asked by the client.

Regards,

Y.
Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit :
> Hello Yves,
> 
> Some related thoughts:
> 
> - related ticket for configuring default WMS version:
> http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to
> the CC list of that ticket and join in the discussions and testing and
> feedback, thanks
> - doc pointers:
> http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support
> ...specifically see the 2 working 1.3.0 example requests there
> 
> -jeff
> 
> > Hi All,
> > 
> > I tried to look for an answer to the question "what do I have to do to
> > get MapServer to serve a 1.3.0 WMS by default" and I haven't found yet.
> > Is there anything to do in the mapfile per se or is it just by the
> > virtue of having a version >= 5.4 ? I thought the latter but then I
> > tried things like :
> > 
> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&BBO
> > X=-5175875.27581...&WIDTH=1605&HEIGHT=316
> > 
> > 
> > and
> > 
> > http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&BBO
> > X=-5175875.27581...&WIDTH=1605&HEIGHT=316
> > 
> > 
> > and wondered if I'm getting back the response from a 1.3.0 in the first
> > case and a 1.1.1 in the second case. Both images were the same, so I
> > thought everything was fine until I tried an unexisting version number
> > (e.g. 1.1.122) and still got back an image !
> > 
> > The only error message that made me think MS was indeed looking at the
> > version number is when I submitted VERSION=abc. then MS complained it
> > wanted "x.y" or "x.y.z". So how can I tell I get a real WMS with my
> > specified version number instead of what appears to be a default one ?
> > 
> > Doc pointers appreciated.
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-09 Thread Jeff McKenna

Hello Yves,

Some related thoughts:

- related ticket for configuring default WMS version: 
http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to 
the CC list of that ticket and join in the discussions and testing and 
feedback, thanks
- doc pointers: 
http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support 
...specifically see the 2 working 1.3.0 example requests there


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 10-11-10 6:58 AM, Yves Moisan wrote:

Hi All,

I tried to look for an answer to the question "what do I have to do to
get MapServer to serve a 1.3.0 WMS by default" and I haven't found yet.
Is there anything to do in the mapfile per se or is it just by the
virtue of having a version >= 5.4 ? I thought the latter but then I
tried things like :

http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316


and

http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316


and wondered if I'm getting back the response from a 1.3.0 in the first
case and a 1.1.1 in the second case. Both images were the same, so I
thought everything was fine until I tried an unexisting version number
(e.g. 1.1.122) and still got back an image !

The only error message that made me think MS was indeed looking at the
version number is when I submitted VERSION=abc. then MS complained it
wanted "x.y" or "x.y.z". So how can I tell I get a real WMS with my
specified version number instead of what appears to be a default one ?

Doc pointers appreciated.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS 1.3.0 questions

2010-11-09 Thread Rahkonen Jukka
Hi,

Have a try with EPSG:4326 and you should see a difference. Despite of axes 
flipping with some projections there should really not be any difference in the 
GetMap output - image is an image. Do GetCapabilities and you should see 
difference. I am remembering also that VERSION is a compulsory parameter in WMS 
GetMap so there is no need to play with the defaults, just give the version and 
you will get what you want.

-Jukka Rahkonen-


-Alkuperäinen viesti-
Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Yves Moisan
Lähetetty: ti 9.11.2010 23:58
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] WMS 1.3.0 questions
 
Hi All,

I tried to look for an answer to the question "what do I have to do to 
get MapServer to serve a 1.3.0 WMS by default" and I haven't found yet.  
Is there anything to do in the mapfile per se or is it just by the 
virtue of having a version >= 5.4 ?  I thought the latter but then I 
tried things like :

http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316

and

http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316

and wondered if I'm getting back the response from a 1.3.0 in the first 
case and a 1.1.1 in the second case.  Both images were the same, so I 
thought everything was fine until I tried an unexisting version number 
(e.g. 1.1.122) and still got back an image !

The only error message that made me think MS was indeed looking at the 
version number is when I submitted VERSION=abc.  then MS complained it 
wanted "x.y" or "x.y.z".  So how can I tell I get a real WMS with my 
specified version number instead of what appears to be a default one ?

Doc pointers appreciated.

Yves
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] WMS 1.3.0 questions

2010-11-09 Thread Yves Moisan

Hi All,

I tried to look for an answer to the question "what do I have to do to 
get MapServer to serve a 1.3.0 WMS by default" and I haven't found yet.  
Is there anything to do in the mapfile per se or is it just by the 
virtue of having a version >= 5.4 ?  I thought the latter but then I 
tried things like :


http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.3.0&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316

and

http://toMapserv.cgi?...REQUEST=GetMap&VERSION=1.1.1&CRS=EPSG%3A42304&BBOX=-5175875.27581...&WIDTH=1605&HEIGHT=316

and wondered if I'm getting back the response from a 1.3.0 in the first 
case and a 1.1.1 in the second case.  Both images were the same, so I 
thought everything was fine until I tried an unexisting version number 
(e.g. 1.1.122) and still got back an image !


The only error message that made me think MS was indeed looking at the 
version number is when I submitted VERSION=abc.  then MS complained it 
wanted "x.y" or "x.y.z".  So how can I tell I get a real WMS with my 
specified version number instead of what appears to be a default one ?


Doc pointers appreciated.

Yves
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users