<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Can you do any query in other point layer? Is only in this layer or in all the project?<div><br></div><div>Send us you map_query_float.php</div><div><br></div><div><div>Saludos, <br>----------- <br>Antonio García Benlloch <br><br><strong>Correo:
<br></strong>angarben@hotmail.com <br><a href="mailto:angarben@aaa.upv.es">angarben@aaa.upv.es</a> <br><br><strong>Web:
<br></strong>http://personales.alumno.upv.es/~angarben<br><span style="font-size:10pt;font-family:'Courier New';color:black" lang="EN-GB"></span><span style="font-size:7.5pt;font-family:'Arial','sans-serif';color:green"><br>Antes de imprimir este mensaje, asegúrese de que es necesario.
Proteger el medio ambiente está en nuestra mano.</span><span style="font-size:10pt;font-family:'Courier New';color:black"> </span><span style="font-size:10pt;font-family:'Verdana','sans-serif'"></span>
<p class="ecxecxMsoNormal"><span style="font-size:7.5pt;font-family:'Arial','sans-serif';color:rgb(191, 191, 191)">Este mensaje y sus archivos adjuntos son confidenciales. No está
permitida su reproducción o distribución sin la autorización expresa de Antonio García. Si ha recibido este mensaje por error, por favor
bórrelo e informe a <a href="mailto:cdcom@grupocdcom.com"><span style="color:rgb(191, 191, 191);text-decoration:none">angarben@hotmail.com</span></a>. </span><span style="font-size:10pt;font-family:'Verdana','sans-serif'"></span></p>
</div><br><br><br><br>> From: ka-map-users-request@lists.maptools.org<br>> Subject: ka-Map-users Digest, Vol 66, Issue 2<br>> To: ka-map-users@lists.maptools.org<br>> Date: Tue, 14 Dec 2010 12:00:02 -0500<br>> <br>> Send ka-Map-users mailing list submissions to<br>>         ka-map-users@lists.maptools.org<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>         http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> or, via email, send a message with subject or body 'help' to<br>>         ka-map-users-request@lists.maptools.org<br>> <br>> You can reach the person managing the list at<br>>         ka-map-users-owner@lists.maptools.org<br>> <br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of ka-Map-users digest..."<br>> <br>> <br>> Today's Topics:<br>> <br>> 1. Problem to query a postgis layer (Paolo Mangraviti)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Tue, 14 Dec 2010 14:04:52 +0100<br>> From: Paolo Mangraviti <paolo.mangraviti@katamail.com><br>> Subject: [ka-Map-users] Problem to query a postgis layer<br>> To: ka-map-users@lists.maptools.org<br>> Message-ID: <4D076B74.2050604@katamail.com><br>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>> <br>> Hi ti all,<br>> I have a problem with postgis layer in ka-map. Layer is viewed <br>> correctly, but on query a point of that layer, ka-map notify me an error:<br>> <br>> Fatal error: [MapServer Error]: msQueryByPoint(): No matching record(s) <br>> found. in /var/www/webgis/ka-map/htdocs/map_query_float.php on line 234<br>> <br>> If I omit the TEMPLATE directive, no query is performed.<br>> <br>> Layer specification in map file is:<br>> #-------------------------------------------------------------------------------------------------------------------------------------------------------<br>> LAYER # Punti di Interesse :: Fontane<br>> CONNECTIONTYPE postgis<br>> CONNECTION "user=webgis password=******** dbname=sentieri <br>> host=127.0.0.1"<br>> DATA "wpt from punto"<br>> FILTER "tipologia = 'Fontana'"<br>> <br>> TYPE POINT<br>> TOLERANCE 5<br>> STATUS ON<br>> <br>> NAME "Fontane e Sorgenti"<br>> GROUP "Fontane"<br>> LABELITEM "titoloMappa"<br>> <br>> TEMPLATE "../sample.html"<br>> <br>> CLASS<br>> NAME "Fontane"<br>> STYLE<br>> SYMBOL "fontana"<br>> OUTLINECOLOR 0 0 0<br>> END<br>> LABEL<br>> POSITION uc<br>> SIZE 7<br>> COLOR 0 0 0<br>> BACKGROUNDCOLOR 228 253 18<br>> TYPE truetype<br>> FONT arial<br>> END<br>> END<br>> <br>> <br>> METADATA<br>> "wms_title" "Fontane e Sorgenti"<br>> "imageformat" "GIF"<br>> "queryable" "true"<br>> "max_extents" "auto"<br>> "tile_source" "redraw"<br>> "fields" "denominazione:Nome,quota:mt"<br>> "searchfield" "denominazione"<br>> "identificativoSentiero" "none"<br>> END<br>> PROJECTION<br>> "proj=utm"<br>> "ellps=WGS84"<br>> "datum=WGS84"<br>> "zone=33"<br>> "units=m"<br>> "south"<br>> "no_defs"<br>> END<br>> END<br>> #-------------------------------------------------------------------------------------------------------------------------------------------------------<br>> <br>> Thanks a lot for support,<br>> <br>> paolo mangraviti<br>> <br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>> ka-Map-users mailing list<br>> ka-Map-users@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> <br>> <br>> End of ka-Map-users Digest, Vol 66, Issue 2<br>> *******************************************<br></div>                                            </body>
</html>