[mapserver-dev] hoto add new key in mapfiles

Martin Kofahl M.Kofahl at gmx.net
Thu Sep 17 03:04:48 EDT 2009


Hi Daniel,
I did add a new enhancement #3116 to the tracking system. With the included modifications you can reference to a second layer representing the area which is used to clip the output from the first layer. There are lots of open items, of course. Especially in combination with #3122 this can add simple access control mechanisms to mapserver.

Thanks for your help with the maplexer.
Martin

-------- Original-Nachricht --------
> Datum: Fri, 04 Sep 2009 07:12:29 -0400
> Von: Daniel Morissette <dmorissette at mapgears.com>
> An: mapserver-dev at lists.osgeo.org
> Betreff: Re: [mapserver-dev] hoto add new key in mapfiles

> Martin Kofahl wrote:
> > Hi,
> > I currently investigate possibilities of adding per-layer spatial
> obligation to mapserver. I would like to have a new key 'restriction' for then
> layer section, but can not find the maplexer files documented. Can you give
> me a hint, please.
> > 
> 
> You need to add the new keyword to maplexer.l (note the alphabetical 
> order) and add an id for it in mapfile.h. Flex should take care of the 
> rest next time you run make.
> 
> BTW, what do you mean by "spatial obligation"? A spatial filter? I can 
> see how that could be useful in some cases. Are you thinking of 
> specifying only a BBOX as filter or would a polygon filter also be 
> supported?
> 
> Daniel
> -- 
> Daniel Morissette
> http://www.mapgears.com/
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the mapserver-dev mailing list