I am learning how to use mapserver and I am fighting with a problem. I managed to built a simple map application and I started to work with queries. Everything was fine with all polygons layers I tried. However when I started to use point layer (some soil sampling sites) the things went wrong. I select the sites layer (see below) and query or nquery mode. Then I click on the map and nothing happened, as if mapserver was not recognising the query keywords I introduced in the mapfile.
<br>Below there is the code I am using for this layer. If someone knows what I can do, I will be extremely happy as this kind of layers is the most important for my application!<br>Thanks in advance<br><br>Laura<br>=======================================================
<br> LAYER # point layer with sampled site starts here, query <br> NAME "q_sites"<br> DATA "D:/ALRPC/Gis/Data/Grugliasco/Soil_Data/Layers/gru_sites_gb"<br> TRANSPARENCY 100<br>
TYPE point<br> STATUS On<br> HEADER 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_header.html'<br> FOOTER 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_footer.html'<br> TOLERANCE 10
<br> TOLERANCEUNITS pixels<br> CLASS<br> TEMPLATE 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_class_query.html'<br> STYLE<br> SYMBOL 'circle'
<br> COLOR 255 0 0<br> SIZE 2<br> END # end style<br> END # end class<br> END # sites layer ends here<br>=====================================================================
<br>