Paul Austin wrote: > I noticed that someone added some functionality to display a > confirmation dialog if the URL in the capabilities document > is different from the service request URL. I'm not sure if > this is the best thing to do as it requires a lot of extra > key presses when you automatically add WMS layers in a > plugi-in. I presume this is there to stop people being > redirected to different sites. A suggestion I may make is > that if you say yes for a combination of source and > redirected URL it prompts you to confirm and then saves that > in the persistent blackboard so you never see that message again.
This change was done by Andreas Schmitz because of my suggestion. Discussion was held on this mailing list a few days ago. The purpose of this change was to make it possible to connect at all to such WMS servers which are using a different URL for GetMap requests than for GetCapabilities. Without this change OpenJUMP WMS blindly sent all GetMap requests to the same address than used for the first connection for GetCapabilities. In theory it would be correct to always use that GetMap URL that is returned with the GetCapabilities document. In real life just few WMS servers are really using separate GetMap URL, even they may advertise so. Usually it does not harm anybody, because many, if not most clients behave just like OpenJUMP and never read the GetMap URL or try to use it. This solution was made to allow - directing GetMap requests to GetMap URL if it really works - directing GetMap requests to GetCapabilities URL if it works but GetMap URL is wrong I had a certain WMS service in my mind when asking about this feature. Unfortunately that site has another speciality in configuration that prevents me to use it even the GetMap URL is now read from the GetCapabilities document. -Jukka Rahkonen- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel