[Mapbender-users] load WMC problems

Christoph Baudson (WhereGroup) christoph.baudson at wheregroup.com
Fri Jul 13 10:38:28 EDT 2007


Christoph Ratke schrieb:
> Hi list,
> I tested the load WMC module (version 2.4.2 Rc1). Two things are not
> working correctly:
> 
> 1. After load, ZoomFull is not working correctly. The complete map
> boundaries are overwritten by the WMC extend. 

True. The problem is, that there is only one field in a WMC for storing 
the extent. This is the current extent of the mapframe.

A possible solution would be storing the initial extent in an extension.

like this

<layer ...>

<extensions>
<mapbender:layer_extent>
...
</mapbender:layer_extent>
</extensions>
</layer>

> 2. When I have grouped layers in the TreeGDE2 (ok, did not test it with
> another tree module), the sublayers are listed in the layer tree after
> the load (was not the case before saving the WMC). I found something
> similar in the trac (#2) but I am not sure if it is the same problem.
> It is not fixed yet, is it?

The WMC can only stores layers without hierachy. It is therefore 
impossible to map the Mapbender layer hierachy into the WMC. Possible 
solution again: extensions.

However I'm not sure about using lots of extensions, as it is somehow 
contrary to the idea of using a standard.

Have a nice weekend,

--
Baudson Christoph
http://www.wheregroup.com


More information about the Mapbender_users mailing list