Andreas Schmitz wrote:About OpenJUMP WMS GetMap onlineresource
 
> Rahkonen Jukka wrote:

> Hi,

>
>> One quick question:  Does anybody know directly if OpenJUMP is parsing the 
>> WMS
>> GetCapabilities document and using the GetMap onlineresource that is
>> advertised there?
>> 
>> I mean a situation where the server is first contacted in, let's say at
>> http://wms.server.fi/wms/getcapabilities?
>> and it returns the following document:
>> 
>> <GetMap>
>> <Format>image/jpeg</Format>
>> <Format>image/png</Format>
>> ?    <DCPType>
>> ?    <HTTP>
>> ?    <Get>
>> <OnlineResource xlink:type="simple" 
>> xlink:href="http://wms.server.fi/wms/getmap?"/>
>> </Get>
>> </HTTP>
>> </DCPType>
>> </GetMap>
> 
>> Does OpenJUMP now understand to use the URL http://wms.server.fi/wms/getmap?
>> for the GetMap requests?
>> 
>> I do not have own WMS service running at the moment so I could test it myself
>> easily.  I do know that I will need to use such a WMS service in near future.

>no, unfortunately that does not work at the moment (the capabilities are only
>used to extract the layer tree IIRC).

Sad, but not surprising.  Would it be very hard to implement?  I know that many 
other clients do not support this either, and this information is also wrong in 
many WMS services.  So the most robust WMS client should perhaps 
- first take GetMap URL from the GetCapabilities document
- if that fails, try next the same URL as used for GetCapabilities (the way it 
is now in OpenJUMP)
- if even that fails let the user write any URL he wants


-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

Reply via email to