<div>So - what does your map file look like? </div>
<div> </div>
<div>THanks </div>
<div>Dean</div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Sep 19, 2012 at 1:20 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>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>
<div class="HOEnZb">
<div class="h5">> 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 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 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>> 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 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>>>>> 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>>>>> 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>>>>> 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>&nbsp;</td><br>>>>> <td>&nbsp;</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>&nbsp;</td><br>
>>>> <td>&nbsp;</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 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 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>> 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 map<br>
>>>>>>> file is. Identify service is active since when I click to some 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 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 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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>
<div>Dean R Anderson </div>
<div>IT Director </div>
<div>Polk County</div><br>