<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Como agrupar capas de Geoserver para luego llamarlas con
MapFish?, con las capas de Mapserver hago lo siguiente:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>var wmscartoLayers = ["Capa1"," Capa2","CapaN"];</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font><span>wmscarto = new OpenLayers.Layer.WMS("wmscarto",</span></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> URL, {</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> layers: wmscartoLayers,format: "image/png",transparent: "true"});</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>y Finalmente la forma de mostrar la información:</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font><span>{</span></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> text: "Tem&aacute;ticos",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> leaf: false,</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span>checked: false,</font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> expanded: false,</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> children: [{</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> text: "Capa1",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> layerName: "wmscarto:Capa1",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> leaf: true,</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> icon: "icons/img2.png",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span>checked: false</font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> },{</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> text: "</span></font> <span>Capa2</span>",</pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> layerName: "wmscarto:</span></font> <span>Capa2</span>",</pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font><span>leaf: true,</span></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> icon: "icons/img2.png",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> checked: false</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> },{ </span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> text: " CapaN",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> layerName: " CapaN",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> leaf: true,</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> icon: "icons/img2.png",</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> checked: false</span></font></pre><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> }</span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>En Geoserver no se como hacerlo, pues tengo el nombre de la
capa de acuerdo Geoserver es:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Colombia:Drenaje</span></font></b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> y a la hora
de llamarlo en la última parte como hago las capas de mapserver tendría algo así:
</span></font>"<b><span style='font-weight:bold'>wmscarto: </span></b><b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:
bold'>Colombia:Drenaje</span></font></b>" lo que a la final no carga nada,
no se sí es por la que tengo ya en este caso dos veces dos punto( “:”).</p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Cual es la forma de hacerlo con servicios WMS generados por Geoserver?</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:10.0pt'><font size=1 color=navy face="Times New Roman"><span style='font-size:9.0pt;color:navy'> </span></font></p>
<p class=MsoNormal><strong><b><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;color:navy'>JHONATAN CANO FURAGARO</span></font></b></strong><font color=navy><span style='color:navy'> <br>
</span></font><font size=1 color=navy face=Tahoma><span style='font-size:9.0pt;
font-family:Tahoma;color:navy'>Ingeniero Forestal, Universidad Nacional de
Colombia<br>
</span></font><font size=2 color=blue face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:blue'>SAG-SA (Servicios Ambientales y Geograficos
S.A).</span></font><font size=1 color=blue face=Tahoma><span style='font-size:
9.0pt;font-family:Tahoma;color:blue'> Itagüi - Antioquia</span></font></p>
<p class=MsoNormal><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;color:blue'><a href="mailto:jcano@sag-sa.com"><span>jcano@sag-sa.com</span></a></span></font><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;
font-family:Tahoma;color:blue'> </span></font><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;
color:blue'><a href="mailto:jhcanof@gmail.com"><span>jhcanof@gmail.com</span></a></span></font><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;
color:blue'> <br>
</span></font><font size=2 color=blue face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:blue'>Tel Oficina: 372-32-00, 372-58-04</span></font><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;
color:blue'> <br>
</span></font><font size=2 color=blue face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:blue'>Cel: 300 430 45 46</span></font><font size=1 color=blue face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;
color:blue'></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>