Group Layer

Vincent Schut schut at SARVISION.NL
Mon Mar 12 05:33:49 EDT 2007


Hi Olivier,

(CCing the mapbuilder and mapserver lists because they might be 
interested in this)

olivier.terral wrote:
> yep vincent,
>
> I love your demo .
Thanks :)
>
> I've question about mapserver, I begin to use it and I see You use too 
> so I ask you :
>
> visibly we can use a context doc , do you know how?
> I've saw a docs on it but this doc explains how to generate a WMC  
> with a map file and not how to use a context directly in place of the  
> mapfile, Do you know if it possible?  or do you know if it possible to 
> generate a mapfile with a WMC?
I'm sorry, but I have never tried to do this. Actually, I don't think 
it's possible because a Context file lacks some important information 
for mapserver, like where a layer's data is physically stored on disk, 
postgis, etc. The map file does not only configure layers like a Context 
doc, but it is also the main configuration source for the mapserver 
rendering engine.
That being said, there might actually be some WMC support in mapserver, 
and therefore I have CC'ed this message to the mapserver list too. Maybe 
one of the Mapserver users/developers can comment on this and enlighten 
Olivier and the rest of us?

>
> Do you have commit your change for the GroupLayer options  in 
> mapbuilder trunk? because it is very useful
I have not yet committed my custom legend to trunk. I might do so when 
it is more or less finished, though I think it should be more feasible 
to put it somewhere on the mapbuilder site as a legend xsl example, then 
to trunk as another legend renderer again. I think legend xsl/js files 
are typically widgets that can be changed and adapted by any user, and 
many users will have different opinions and needs about how a legend 
should look and behave. However, as an example of an advanced legend 
(ahum, if I may say so...) it might be good to post it somewhere.
However, if other MapBuilder developers disagree with me and think the 
addition of my legend js/xsl code to trunk would be a good idea, I will 
commit it.
If you would like to see my code, I can send you the files of course.

Regards,
Vincent.
>
> Thanks for all
> bye
>
> Vincent Schut a écrit :
>> Hi Gertjan (Olivier, I cc you so you know I have answered Gj),
>>
>> I think it was me. It is a still ongoing project, but I regularly 
>> release a demo to our client so they can review the progress. I think 
>> it is no problem to give you the url, so you can view it too, as long 
>> as you focus on the technology, not on the data which might not be 
>> free (though viewing will be no problem, that's why I develop this 
>> thing in the first place).
>>
>> You can see the latest demo at 
>> http:www.sarvision.nl/vision2/ies/greatlakes/demo11/index.html
>>
>> For the thematic layer grouping I use the extension tag in the 
>> context document, which defines the groups and which layers belong 
>> where. It is parsed and rendered by a custom legend xslt file.
>> If you have more questions regarding my implementation of MB, don't 
>> hesitate to ask.
>>
>> Cheers,
>> Vincent.
>>
>> olivier.terral wrote:
>>> Hi guys,
>>>
>>> I remender that one of yours  have made a demo with  Group Layer in 
>>> the legend  .
>>>
>>> Could you give me the url of this demo please , if it is always in 
>>> place?
>>>
>>> Thanks in advance
>>>
>>
>>
>



More information about the mapserver-users mailing list