AW: [Mapbender-users] Save WMC doesnt't work

Christoph Baudson (WhereGroup) christoph.baudson at wheregroup.com
Tue Oct 23 07:43:20 EDT 2007


Hi Marko,

thanks for testing Mapbender 2.4.3 and giving us feedback.

1) this is a bug. Could you please file a bug in Trac? 
(http://trac.osgeo.org/mapbender/)

2) the problem with WMC is, that you can only store a single bounding 
box. The solution I would consider best would be to store the mapframe 
and the overview in seperate WMC documents (Context Collection). For 
Mapbender 2.5 I think we will store the bounding box of the overview in 
the extensions of the "general" tag. I will file a ticket myself for 
this one, so I won't forget to do it.

Samson, Marko schrieb:
> I just continued to search for a solution to solve the problem and installed a new clean 2.4.3 mapbender version on my local pc to isolate the problem.
> With the new and clean installation, I can save and load the wmc. But there are two behaviours I'd like to understand.
>
> 1. after clicking the save_wmc button (standard gui1), I wanted to cancel with the "cancel" button. But the wmc is still saved with wmc_name(wmc_title) "null" and the alert windows confirms me this saved "null"-wmc. Rest of the mb_user_wmc is filled as it should and loading the "null"-wmc works fine (bug or wrong configuration?)
>
> 2. Is it a new feature, that loading a wmc adjusts the boundingbox of the overview? If it's a feature, where can I configure the overview to keep the old standard bbox from the startup?
>
>
> Greetings,
> Marko Samson
>
>  
> -----Ursprüngliche Nachricht-----
> Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Samson, Marko
> Gesendet: Dienstag, 16. Oktober 2007 16:55
> An: Mapbender_users at lists.osgeo.org
> Betreff: [Mapbender-users] Save WMC doesnt't work
>
> Hello List,
>
> After an update from 2.4.0 step by step to 2.4.3 I just recognized, that the savewmc doesnt work anymore.
> It seems, that my mb has a problem while collecting the data for the wmc. The saved wmc_text looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ViewContext xmlns="http://www.opengis.net/context" version="1.0.0" id="1_1192544540" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mapbender="http://www.mapbender.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:SchemaLocation="http://schemas.opengis.net/context/1.0.0/context.xsd">
> <General>
> <Window/>
> <BoundingBox SRS="" minx="0" miny="0" maxx="0" maxy="0"/> <Name>Mapbender WMC</Name> <Title>test</Title> <KeywordList> <Keyword>Mapbender</Keyword> <Keyword>WMC</Keyword> </KeywordList> </General> <LayerList/> </ViewContext>
>
> Additional there is a strange behaviour. When I press the "Abbrechen" Button at the SaveWMC window, there is still opening an alertmessage with "WMC document 'null' has been saved."
>
> Loading the WMC causes an error(seems to be a problem of the missing data from the wmc xml) in line 26
>
> 25 if (old_mapObj[i].frameName != 'overview') {
> 26 window.opener.mb_registerMapObj(old_mapObj[i].frameName, old_mapObj[i].elementName, null, , );
> 27 window.opener.document.getElementById(old_mapObj[i].frameName).style.width = ;
> 28 window.opener.document.getElementById(old_mapObj[i].frameName).style.height = ;
> 29 }
>
> Does anybody know, or has an idea, how I can solve or isolate the problem?
>
>
> One additional little question:
> Is it possible to adjust the opacity by the treegde2 function with IE6 or 7. If so, whats the trick for the IE? 
>
> Greetings,
> Marko Samson
>
>
> Marko Samson
> Landesbetrieb Wald und Holz NRW
> GIS-Anwendungsentwicklung
> Referat I-5
> Albrecht-Thaer-Straße 34
> 48147 Münster
>
> Tel.: 0251/91797 - 169
> Mail: marko.samson at wald-und-holz.nrw.de
>  
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>   


-- 
***************************************
Where2B-Konferenz 
Die Lösungskonferenz der WhereGroup
am 29. November 2007 in Bonn
http://www.where2b-conference.com
***************************************
_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 17
Fax: +49 (0)228 / 90 90 38 - 11
olaf.knopp at wheregroup.com
http://www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
_______________________________________



More information about the Mapbender_users mailing list