<div>This may or may not be it. I had similar issues in a 2.4 app and expanded my search tolerance which let me find them as follows: </div>
<div> </div>
<div> LAYER<br> <br> NAME "control"<br> DATA './data/control'<br> STATUS ON<br> TYPE point<br> TOLERANCE 50<br> TOLERANCEUNITS FEET<br> .<br> .<br> .<br> .</div>
<div> </div>
<div>Expanding tolerance let me identify them. </div>
<div> </div>
<div>Hope it helps. </div>
<div> </div>
<div>Dean </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Sep 19, 2012 at 1:42 PM, Matej Mailing <span dir="ltr"><<a href="mailto:mailing@tam.si" target="_blank">mailing@tam.si</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi,<br><br>the issue with not-passed projection is solved - it seems I have<br>removed input type="projection" from the identify service by mistake.<br>
Now when turning on the debug mode for identify.map I get no more<br>errors and warnings, just this one:<br>
<div class="im">"Warning: mapObj::queryByPoint(): [MapServer Error]: msQueryByPoint():<br>No matching record(s) found.<br></div> in /var/www/elgismap/php/identify.php on line 170"<br><br>When turning debug off, I get no results.<br>
<br>Map file:<br><br>MAP NAME my_layer<br> DEBUG 5<br> EXTENT 484000 90000 620000 190000<br> STATUS ON<br> SIZE 2000 2000<br> TRANSPARENT TRUE<br> UNITS METERS<br> IMAGECOLOR 255 255 255<br>
IMAGETYPE PNG<br> INCLUDE "../globals.map"<br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> QUERYMAP<br> STATUS ON<br> STYLE SELECTED<br>
END<br><br> WEB<br> METADATA<br> "wms_title" "my_layer"<br> "wms_srs" "EPSG:4326"<br>
"wms_enable_request" "*"<br> END<br> QUERYFORMAT "text/xml"<br> INCLUDE "../temp_directory.map"<br> IMAGEPATH "/var/www/gm/tmp/"<br>
IMAGEURL "/gm/tmp/"<br> END<br><br> LEGEND<br> STATUS ON<br> LABEL<br> TYPE TRUETYPE<br> FONT vera_sans<br> SIZE 8<br>
COLOR 0 0 0<br> END<br> END<br><br><br> LAYER<br> NAME "layer_name"<br> TYPE POINT<br> STATUS DEFAULT<br> CONNECTIONTYPE POSTGIS<br>
CONNECTION "host=localhost ... port=5432 options='-c<br>client_encoding=UTF8'"<br> DATA "wkb_geometry from table"<br> CLASS<br> TEXT '[text]'<br>
COLOR 200 23 255<br> SYMBOL 'circle'<br> MAXSIZE 13<br> MINSIZE 10<br> LABEL<br> TYPE TRUETYPE<br>
OFFSET 2 2<br> FONT timesi<br> POSITION ur<br> ANTIALIAS true<br> MINSIZE 12<br>
MAXSIZE 15<br> COLOR 10 120 80<br> END<br><br> END<br> METADATA<br> 'identify_record' 'templates/identify.html'<br>
END<br> TOLERANCE 0<br> END<br>END<br><br>---------------------------------------------<br><br>Thanks,<br>Matej<br><br>2012/9/19 Anderson, Dean <<a href="mailto:anderson.dean@co.polk.or.us">anderson.dean@co.polk.or.us</a>>:<br>
<div class="HOEnZb">
<div class="h5">> So - what does your map file look like?<br>><br>> THanks<br>> Dean<br>><br>><br>><br>> On Wed, Sep 19, 2012 at 1:20 PM, Matej Mailing <<a href="mailto:mailing@tam.si">mailing@tam.si</a>> wrote:<br>
>><br>>> Hi,<br>>><br>>> wms_* entries were commented out (non-wms_* were not), but also after<br>>> uncommenting them the situation is the same. When checking the POST<br>>> parameters for identify.php with Firebug, there is no projection. The<br>
>> projection file (Javascript) is successfully loaded on the site and<br>>> the EPSG:4326 is set both in mapbook.xml and settings.ini (in [map]<br>>> section).<br>>><br>>> The parcels demo has data stored in SHP and we are using PostGIS for<br>
>> it. I have gone through both map files and the only difference is that<br>>> in the WEB METADATA of our mapfile we have wms_title, wms_srs and<br>>> wms_enable_request and in parcels mapfile there are ows_* tags ...<br>
>><br>>> Thanks,<br>>> Matej<br>>><br>>> 2012/9/19 Brent Fraser <<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>>:<br>>> > Does your settings.ini file have entries like<br>
>> ><br>>> > [identify]<br>>> > identify_header=identify/header.html<br>>> > identify_footer=identify/footer.html<br>>> > wms_header=identify/wms_header.html<br>>> > wms_record=identify/wms_record.html<br>
>> > wms_footer=identify/wms_footer.html<br>>> ><br>>> > and do the files pointed to by the wms_* entries exist in the htdocs\php<br>>> > folder?<br>>> ><br>>> > Best Regards,<br>
>> > Brent Fraser<br>>> ><br>>> ><br>>> > On 9/19/2012 1:47 PM, Matej Mailing wrote:<br>>> >><br>>> >> Just now I have found out that in my case I have no "projection"<br>
>> >> parameter sent into the identify.php when comparing to the working<br>>> >> parcels sample. We are using EPSG:4326 - could this be a problem?<br>>> >><br>>> >> Thanks,<br>
>> >> Matej<br>>> >><br>>> >> 2012/9/19 Matej Mailing <<a href="mailto:mailing@tam.si">mailing@tam.si</a>>:<br>>> >>><br>>> >>> Hi all,<br>>> >>><br>
>> >>> I was able to get parcels identification working, but my layer still<br>>> >>> doesn't work. When enabling debug messages in identify.php, I get the<br>>> >>> followint output:<br>
>> >>> "Notice: Undefined index: wms_header in /path/php/identify.php on line<br>>> >>> 116<br>>> >>> Warning: file(): Filename cannot be empty in /path/php/identify.php on<br>
>> >>> line 116<br>>> >>> Warning: implode(): Invalid arguments passed in /path/php/identify.php<br>>> >>> on line 116<br>>> >>> Notice: Undefined index: wms_record in /path/php/identify.php on line<br>
>> >>> 117<br>>> >>> Warning: file(): Filename cannot be empty in /path/php/identify.php on<br>>> >>> line 117<br>>> >>> Warning: implode(): Invalid arguments passed in /path/php/identify.php<br>
>> >>> on line 117<br>>> >>> Notice: Undefined index: wms_footer in /path/php/identify.php on line<br>>> >>> 118<br>>> >>> Warning: file(): Filename cannot be empty in /path/php/identify.php on<br>
>> >>> line 118<br>>> >>> Warning: implode(): Invalid arguments passed in /path/php/identify.php<br>>> >>> on line 118<br>>> >>> Warning: mapObj::queryByPoint(): [MapServer Error]: msQueryByPoint():<br>
>> >>> No matching record(s) found.<br>>> >>> in /path/php/identify.php on line 170"<br>>> >>><br>>> >>> When turning off the debug mode, I get the same output as mentioned<br>
>> >>> before: just coordinates of the point.<br>>> >>><br>>> >>> Thanks for any ideas,<br>>> >>> Matej<br>>> >>><br>>> >>> 2012/9/13 Eli Adam <<a href="mailto:eadam@co.lincoln.or.us">eadam@co.lincoln.or.us</a>>:<br>
>> >>>><br>>> >>>> On Wed, Sep 12, 2012 at 4:24 PM, Matej Mailing <<a href="mailto:mailing@tam.si">mailing@tam.si</a>><br>>> >>>> wrote:<br>>> >>>>><br>
>> >>>>> Hi,<br>>> >>>>><br>>> >>>>> I have followed all 3 points, but with no success. I still get the<br>>> >>>>> coordinates and that's it ...<br>
>> >>>><br>>> >>>> If you started with the demo, does identify on the parcels work?<br>>> >>>><br>>> >>>>> Now I have removed all the fields from the template file (that<br>
>> >>>>> begins<br>>> >>>>> with the <!-- MapServer Template -->) so it only outputs some "hello<br>>> >>>>> world text", but it still doesn't work. I have now found a<br>
>> >>>>> metadata="true" option available when defining the layer in the<br>>> >>>>> mapbook file, but also with this set to true it doesn't work. I have<br>>> >>>>> also added only this layer to be used for identify via <input<br>
>> >>>>> type="hidden" name="layers" value="..."/> with no result :/<br>>> >>>>><br>>> >>>>> What is the best way to debug this issue?<br>
>> >>>><br>>> >>>> Firefox/firebug could be a good way to start. Using the firebug<br>>> >>>> console on the online demo leads to seeing things like:<br>>> >>>> post<br>
>> >>>> dojo.preventCache 1347492736022<br>>> >>>> layers<br>>> >>>><br>>> >>>> blank%3Ablank/blank%3Aborders%3Aborders/city_labels%3Aborders/county_labels%3Aborders/city_poly%3Aborders/county_borders%3Aparcels%3Aparcels/parcels%3Asketch<br>
>> >>>> projection EPSG%3A3857<br>>> >>>> shape POINT%28-10372969.112863%205552707.7829098%29<br>>> >>>> Source<br>>> >>>><br>>> >>>><br>
>> >>>> layers=blank%253Ablank%2Fblank%253Aborders%253Aborders%2Fcity_labels%253Aborders%2Fcounty_labels%253Aborders%2Fcity_poly%253Aborders%2Fcounty_borders%253Aparcels%253Aparcels%2Fparcels%253Asketch&projection=EPSG%253A3857&shape=POINT%2528-10372969.112863%25205552707.7829098%2529&dojo.preventCache=1347492736022<br>
>> >>>><br>>> >>>> response<br>>> >>>> <results><script> GeoMOOSE.clearLayerParameters('highlight');<br>>> >>>><br>>> >>>><br>
>> >>>> GeoMOOSE.turnLayerOff('highlight/highlight');</script><html><![CDATA[<!--<br>>> >>>> MapServer Template --><br>>> >>>> Detailed information for the area you clicked on the map...<br>
>> >>>> <table border="0"><br>>> >>>> <tr><br>>> >>>> <td colspan="2"><b><u>Ground Coordinates</u></b><br>
>> >>>> <br><br>>> >>>> <b>X: </b>485549.182735<br>>> >>>> <br><br>>> >>>> <b>Y: </b>4934226.01043</td><br>
>> >>>> </tr><br>>> >>>> <tr><br>>> >>>> <td> </td><br>>> >>>> <td> </td><br>>> >>>> </tr><br>
>> >>>> </table><br>>> >>>> <table border="0" cellpadding="1" cellspacing="2"><br>>> >>>> <tr bgcolor="#DEE5EB"><td colspan="2"><b><u>Parcels</u></b></tr><br>
>> >>>> <tr><br>>> >>>> <td align="right"><b>PIN:</b></td><br>>> >>>> <td>130260001175 <a<br>>> >>>> href="javascript:GeoMOOSE.startService('feature_report', {'PIN' :<br>
>> >>>> '130260001175', 'src' : 'parcels/parcels'})">Report</a></td><br>>> >>>> </tr><br>>> >>>> <tr><br>>> >>>> <td align="right"><b>Owner Name:</b></td><br>
>> >>>> <td>Thaddeus Garcia</td><br>>> >>>> </tr><br>>> >>>> <tr><br>>> >>>> <td align="right"><b>Est. Market Value:</b></td><br>
>> >>>> <td>1178700</td><br>>> >>>> </tr><br>>> >>>> <tr><br>>> >>>> <td align="right"><b>Acres:</b></td><br>
>> >>>> <td>154.37</td><br>>> >>>> </tr><br>>> >>>> <tr><br>>> >>>> <td> </td><br>>> >>>> <td> </td><br>
>> >>>> </tr><br>>> >>>> ]]></html><footer><![CDATA[<b>Disclaimer: This information is being<br>>> >>>> distributed as demonstation data only. You should not use the data<br>
>> >>>> for any other purposes.</b><br>>> >>>> ]]></footer></results><br>>> >>>><br>>> >>>> You can do the same with your site and see exactly what is coming<br>
>> >>>> back<br>>> >>>> in the response. Posting more specific details (relevant parts of<br>>> >>>> mapbook.xml, ogrinfo of datasource) or providing a link to your<br>
>> >>>> website might make it easier for people to make suggestions. Getting<br>>> >>>> the parcels example working correctly and then closely matching the<br>>> >>>> parcels set can be a starting place. Also confirm that relative<br>
>> >>>> paths<br>>> >>>> are correct.<br>>> >>>><br>>> >>>> Best Regards, Eli<br>>> >>>><br>>> >>>><br>>> >>>>> Thanks for any ideas in advance ....<br>
>> >>>>> Matej<br>>> >>>>><br>>> >>>>> 2012/9/13 Eli Adam <<a href="mailto:eadam@co.lincoln.or.us">eadam@co.lincoln.or.us</a>>:<br>>> >>>>>><br>
>> >>>>>> Matej,<br>>> >>>>>><br>>> >>>>>> On Wed, Sep 12, 2012 at 3:52 PM, Matej Mailing <<a href="mailto:mailing@tam.si">mailing@tam.si</a>><br>
>> >>>>>> wrote:<br>>> >>>>>>><br>>> >>>>>>> Hi,<br>>> >>>>>>><br>>> >>>>>>> I have a layer where I have added<br>
>> >>>>>>> METADATA<br>>> >>>>>>> 'identify_record'<br>>> >>>>>>> 'templates/identify.html'<br>
>> >>>>>>> END<br>>> >>>>>>> and created a file in the subdirectory of the directory where the<br>>> >>>>>>> map<br>>> >>>>>>> file is. Identify service is active since when I click to some<br>
>> >>>>>>> point<br>>> >>>>>>> I<br>>> >>>>>><br>>> >>>>>> Does your template start with:<br>>> >>>>>> <!-- MapServer Template --><br>
>> >>>>>><br>>> >>>>>>> get the coordinates. This layer can be the only layer turned on in<br>>> >>>>>>> the<br>>> >>>>>>> Catalog, but I still get no identify results and the message<br>
>> >>>>>>> containing the coordinates seems to be used.<br>>> >>>>>><br>>> >>>>>> Can you review this draft updated documentation and see if it<br>
>> >>>>>> helps?<br>>> >>>>>> <a href="http://geomoose.org/trunk/howto/identify.html" target="_blank">http://geomoose.org/trunk/howto/identify.html</a><br>>> >>>>>><br>
>> >>>>>> HTH, Eli<br>>> >>>>>><br>>> >>>>>>> What am I doing wrong? I have been pulling my hair out for quite<br>>> >>>>>>> some<br>
>> >>>>>>> hours now ...<br>>> >>>>>>><br>>> >>>>>>> Thanks for all the ideas.<br>>> >>>>>>> Matej<br>>> >>>>>>> _______________________________________________<br>
>> >>>>>>> Geomoose-users mailing list<br>>> >>>>>>> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>>> >>>>>>> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
>> >><br>>> >> _______________________________________________<br>>> >> Geomoose-users mailing list<br>>> >> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>>> >><br>>> ><br>>> ><br>>> > _______________________________________________<br>
>> > Geomoose-users mailing list<br>>> > <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>>> > <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
>> _______________________________________________<br>>> Geomoose-users mailing list<br>>> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>>> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
><br>><br>><br>><br>> --<br>> Dean R Anderson<br>> IT Director<br>> Polk County<br>><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>
<div>Dean R Anderson </div>
<div>IT Director </div>
<div>Polk County</div><br>