[Freegis-list] Have Geoportal's WMS requests in server or client?
arnulf.christl at wheregroup.com
Fri May 11 15:40:52 CEST 2007
Jan-Oliver Wagner wrote:
> in the frame of security issues I came across the question what
> the particular reasons are why geo-portals (MapBender, iGeoPortal, p.mapper etc)
> OpenLayers does) but rather do it on the server side
> (some do only GetCapabilities, some also GetMap).
> The reasons I could imagine are:
> * it was easier t o implement it this way
> I am extremely intersted if there are reasons beyond these
> and would be thankful for any feedback.
> All the best
Mapbender does it both ways depending on what you need.
To do this the client needs to have a copy of the Capabilities document to be able to formulate initial GetMap and FeatureInfo requests. Mapbender maintains a repository of Capabilities and ISO 19119 metadata describing them. CS-W 2.0 has been extended to allow loading single layers from a query result instead of having to always take the whole services. The copy of the Capabilites document that served to set this information can be updated manually or by a monitoring service . The OGC WMS spec does not provide for a notification or push method yet (here rss could be used as a workaround).
It is possible to preconfigure the initial request, select layers, image and query result format, initial start extent (if it is the first service), etc.
In some cases it will be preferred or even required to request all images to one central point and merge / weld them. This is helpful when creating PDF print out files. PDFs regularly fail when different raster image formats with transparencies are overlayed, the result if often a solid black. FeatureInfo requests from different services will usually pop up each in a separate window, with different layout, etc.. To enhancement this one server can collect the results and merge them into one single window or iframe on a web page .
Another issue is security. If each request needs to be logged by a component that has authentication information (for example data with privacy relevant data) then the requests should be cascaded through a security proxy.
There will be many more application examples and for each an individual combination of server or client side requests can make sense. It will be interesting to implement everything again with WSDL. But this is still in the queue and nobody knows when it will be available as a spec and even less so whether people will actually want to use it.
More information about the Freegis-list