[Chameleon] add layer group name in layer object

Bart van den Eijnden (OSGIS) bartvde at xs4all.nl
Mon Mar 27 14:01:45 EST 2006


For those ones you use:

int setMetaData(string name, string value)
        Set a metadata entry for the layer.  Returns MS_SUCCESS/MS_FAILURE.


See:

http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/referencemanual-all-pages

Best regards,
Bart

He, Matt Yubin wrote:

> Hi Bart:
>
>  
>
>             Thanks for your help. Is this "set("group","mygroupname") 
> function defined in Mapserver?
>
>  
>
>             I am asking because I need to add the wms_abstract, 
> wms_metadataurl_href and other Metadata into layer definition. But I 
> can't find the source code for them. Could you please point me to the 
> right place where I can find the source code?
>
>  
>
> Thanks.
>
>  
>
> Matt He
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Eijnden, B. van den (Bart) 
> [mailto:b.vdeijnden at agi.rws.minvenw.nl]
> *Sent:* Friday, March 17, 2006 12:52 AM
> *To:* He, Matt Yubin; chameleon at lists.maptools.org
> *Subject:* RE: [Chameleon] add layer group name in layer object
>
>  
>
> If I understand you correctly, it should just be:
>
>  
>
> $oLayer->set("group", "mygroupname");
>
>  
>
> Bart
>
>     -----Oorspronkelijk bericht-----
>     *Van:* chameleon-bounces at lists.maptools.org
>     [mailto:chameleon-bounces at lists.maptools.org]*Namens *He, Matt Yubin
>     *Verzonden:* donderdag 16 maart 2006 23:36
>     *Aan:* chameleon at lists.maptools.org
>     *Onderwerp:* [Chameleon] add layer group name in layer object
>
>     I am trying to change the Layer Group Name in layer object, but I
>     am not sure whether this is doable.
>
>      
>
>     Is there a function like $oLayer->setGroupName("Group Name") in
>     layer object definition?
>
>      
>
>     Thanks.
>
>      
>
>     Matt
>
>      
>
>
> Disclaimer 
> ************************************************************************ 
> Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is 
> uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis 
> hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
> informeren. Wij adviseren u om bij twijfel over de juistheid of de 
> volledigheid van de mail contact met afzender op te nemen. This 
> message shall not constitute any rights or obligations. This message 
> is intended solely for the addressee. If you have received this 
> message in error, please delete it and notify the sender immediately. 
> When in doubt whether this message is correct or complete, please 
> contact the sender. 
> ************************************************************************
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>  
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060327/70fd05a3/attachment.html


More information about the Chameleon mailing list