Le 24/04/2013 11:10, edgar.sol...@web.de a écrit :
> On 23.04.2013 22:52, Michaël Michaud wrote:
>>> I've changed some things related to the default wms version we find : I
>>>> really prefer to keep the highest one if nothing is given from the user.
>>>> I've made some changes in WMService so that it can work. I've tried to
>>>> retrieve the getCapabilities document only once for performance purpose.
>>>> I've split the initialize method in three, consequently. Another minor
>>>> change is that I add a "?" at the end of the input URL in order to be
>>>> more resistant to user input :-)
>> Nice improvement, I'll try to synchronize OpenJUMP.
> he stumbled over the bounding box axis issue inbetween, so i doubt he will 
> stick to the highest version first decision. the question mark was also 
> reverted afaiu as the user might give a query string with the url.
>
> so far i see no need for both changes.
>
> ..ede
>
hi,

The query string can basically be kept by doing a more accurate test. 
For instance by searching for it in the input URL. If it is there, we 
can then check for a final & and then go on. I've done that thanks to 
Jukka comment on this, and it seems to be working. (most of the work as 
been made on the OrbisGIS side, no change in the WMS client unless the 
said test).

Considering the work made by Michaël, the axis order problem seems to be 
less painful... I've made some tests and it seems to be working. That's 
said, we will probably stick with the highest version rather than 
defaulting to 1.1.1. Version 1.3.0 is the current standard for WMS. I 
really prefer the idea to let the user force the requested version. 
Moreover, there is no guarantee WMS 1.1.1 is implemented on the 
requested server. That means that if the version is not explicitly 
stated in the getCapabilities request (i.e. not explicitly given by the 
user/caller), the client will try to connect to a WMS 1.3.0 *only* 
server with the 1.1.1 protocol. I don't know how this could work. I 
think it's safer to query the server before.

Best wishes,

Alexis.



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to