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. 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! Thanks in advance
Laura ======================================================= LAYER # point layer with sampled site starts here, query NAME "q_sites" DATA "D:/ALRPC/Gis/Data/Grugliasco/Soil_Data/Layers/gru_sites_gb" TRANSPARENCY 100 TYPE point STATUS On HEADER 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_header.html' FOOTER 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_footer.html' TOLERANCE 10 TOLERANCEUNITS pixels CLASS TEMPLATE 'c:/ms4w/tmp/mapfile/q_templates/prova_sites_class_query.html' STYLE SYMBOL 'circle' COLOR 255 0 0 SIZE 2 END # end style END # end class END # sites layer ends here =====================================================================