[Mapbuilder-users] Group Layer
Bart van den Eijnden (OSGIS)
bartvde at OSGIS.NL
Mon Mar 12 02:49:49 PDT 2007
Mapscript has functions to convert from/to a Web Map Context document.
So you need to script this, you can't use a WMC directly in Mapserver CGI
AFAIK.
Look for saveMapContext and loadMapContext functions on the Map object.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Vincent Schut <schut at sarvision.nl>
Naar: olivier.terral <olivier.terral at geomatys.fr>
Cc: mapbuilder-users <mapbuilder-users at lists.sourceforge.net>,
'mapbuilder-devel at lists.sourceforge.net'
<mapbuilder-devel at lists.sourceforge.net>, MAPSERVER-USERs at LISTS.UMN.EDU
Onderwerp: Re: [Mapbuilder-users] Group Layer
Datum: 12/03/07 07:34
> 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
> >>>
> >>
> >>
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Mapbuilder-users mailing list
> Mapbuilder-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>
More information about the MapServer-users
mailing list