<span class="gI"></span>Hi Joel, in order to query a layer all you need is to set "queryable" "true" in layer metadata.(<a href="http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration">http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration</a>)<br>
Also at layer level you have to define TEMPLATE keyword, using as value something like "foo.html". Note that the file foo.html is not a real file .<br>For example in my mapfile a layer is defined as follow:<br>
<br>LAYER<br> GROUP 'slope'<br> NAME 'slope'<br> TYPE RASTER<br> DATA '/var/www/html/ka-map_1108/spearfish60/PERMANENT/cellhd/aspect'<br> TEMPLATE "ttt.html"<br> METADATA<br>
<br> "queryable" "true"<br> <br> END<br> STATUS on<br> TRANSPARENCY 100<br> PROJECTION<br> 'proj=utm'<br> 'zone=13'<br> 'ellps=clrk66'<br> 'datum=NAD27'<br>
'units=m'<br> 'no_defs'<br> ''<br> END<br> END<br><br><br>The file ttt.html doesn't exist on my server, but if you want query a layer you need to define it.<br><br>Cheers<br> Marco<br>
<br><br><br><div class="gmail_quote">2009/5/25 joel mamani <span dir="ltr"><<a href="mailto:mpg70221725@yahoo.com.ar">mpg70221725@yahoo.com.ar</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div>I'm Joel How to make Ka-Map!, Has the ability to query, how can I configure it to be like? Configuration files .map of MapServer can do but the ka-map! no, please help!, if they had full documentation or examples, I would be grateful.</div>
<div>bye.</div></td></tr></tbody></table><br><div class="hm">
<hr size="1"><br><font size="-2" face="Verdana">Yahoo! Cocina Registrate y cargá tu receta. Podés ganar premios
<br>
<a href="http://www.promorecetas.com" target="_blank">www.promorecetas.com</a></font></div><br>_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
<br></blockquote></div><br>