<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
For those ones you use:<br>
<pre class="literal-block">int setMetaData(string name, string value)
Set a metadata entry for the layer. Returns MS_SUCCESS/MS_FAILURE.</pre>
<br>
See:<br>
<br>
<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/referencemanual-all-pages">http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/referencemanual-all-pages</a><br>
<br>
Best regards,<br>
Bart<br>
<br>
He, Matt Yubin wrote:
<blockquote
cite="midF2934DE4D6F7534FA4037EF19C416A2D047F8A@frost.itsc.uah.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Hi Bart:</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">
Thanks
for your help. Is this “set(“group”,”mygroupname”)
function defined in Mapserver?</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">
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?</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Thanks.</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Matt He</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font
face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font
face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma;"> Eijnden, B. van
den (Bart) [<a class="moz-txt-link-freetext" href="mailto:b.vdeijnden@agi.rws.minvenw.nl">mailto:b.vdeijnden@agi.rws.minvenw.nl</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, March
17, 2006 12:52
AM<br>
<b><span style="font-weight: bold;">To:</span></b> He, Matt Yubin;
<a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> RE:
[Chameleon] add layer
group name in layer object</span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
<div>
<p class="MsoNormal"><font color="blue" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: blue;">If I
understand you correctly, it should
just be:</span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="blue" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: blue;">$oLayer->set("group",
"mygroupname");</span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
</div>
<div>
<p class="MsoNormal"><font color="blue" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: blue;">Bart</span></font></p>
</div>
<blockquote
style="margin-top: 5pt; margin-right: 0in; margin-bottom: 5pt;">
<p class="MsoNormal" style="margin-bottom: 12pt;"><font
face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma;">-----Oorspronkelijk
bericht-----<br>
<b><span style="font-weight: bold;">Van:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:chameleon-bounces@lists.maptools.org">chameleon-bounces@lists.maptools.org</a>
[<a class="moz-txt-link-freetext" href="mailto:chameleon-bounces@lists.maptools.org">mailto:chameleon-bounces@lists.maptools.org</a>]<b><span
style="font-weight: bold;">Namens
</span></b>He, Matt Yubin<br>
<b><span style="font-weight: bold;">Verzonden:</span></b> donderdag
16 maart 2006
23:36<br>
<b><span style="font-weight: bold;">Aan:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a><br>
<b><span style="font-weight: bold;">Onderwerp:</span></b>
[Chameleon] add layer
group name in layer object</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I am trying to change the
Layer Group Name in layer object,
but I am not sure whether this is doable. </span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">Is there a
function like
$oLayer->setGroupName("Group Name") in layer object definition?</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Thanks.</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Matt</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font></p>
</blockquote>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><br>
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.
************************************************************************
</span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Chameleon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bart van den Eijnden
OSGIS, Open Source GIS
<a class="moz-txt-link-freetext" href="http://www.osgis.nl">http://www.osgis.nl</a></pre>
</body>
</html>