Actually I believe that it just ignores the layer.<br>I'm getting the geocoordinates of the spot but I'm not getting any attribute-info<br><br>So, I guess that identify service works in the same way <i>(by creating an identify.html file and mentioning it in the map file in Layer's metadata map object as:  'identify_record'    'identify.html')</i><br>
<br>It might be something silly that I've forgotten.<br><br>Any idea is welcomed.<br>Many many thanks for the responses.<br><br>Stathis<br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 1:10 PM, Matej Mailing <span dir="ltr"><<a href="mailto:mailing@tam.si" target="_blank">mailing@tam.si</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am not so familiar with Mapscript yet, but it seems strange to me<br>
that this "reprojectWKT($queryShape->toWkt(), $shape_proj, $map_proj)"<br>
returns empty string. Try setting $DEBUG = true at the beginning of<br>
the the identify.php, there could be some interesting debugging<br>
information in the apache error log.<br>
<br>
Regards,<br>
Matej<br>
<br>
2012/10/17 Efstathios Arapostathis <<a href="mailto:e.arapostathis@gmail.com">e.arapostathis@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Hi,<br>
><br>
>   I've tried firebug, I'm receiving the following message:<br>
><br>
><br>
> Fatal error: Uncaught exception 'MapScriptException' with message 'Unable to<br>
> construct shapeObj.' in C:\ms4w\apps\geomoose2\htdocs\php\identify.php:145<br>
><br>
> Stack trace:<br>
> #0 C:\ms4w\apps\geomoose2\htdocs\php\identify.php(145):<br>
> ms_shapeObjFromWkt('')<br>
> #1 {main}<br>
><br>
>   thrown in C:\ms4w\apps\geomoose2\htdocs\php\identify.php on line 145<br>
><br>
><br>
><br>
> Additional Info: My layer is a PostGIS Layer. I'm attaching the map file and<br>
> the identify.html with some changes that I've done.<br>
><br>
> Any help would be really appreciated.<br>
><br>
> kind regards,<br>
> Stathis<br>
><br>
><br>
><br>
><br>
><br>
> On Tue, Oct 16, 2012 at 9:10 PM, Matej Mailing <<a href="mailto:mailing@tam.si">mailing@tam.si</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> try to check to output of the template.php with Firebug and perhaps<br>
>> turning the debugging mode on. You will get more information then.<br>
>><br>
>> Regards,<br>
>> Matej<br>
>><br>
>> 2012/10/16 Efstathios Arapostathis <<a href="mailto:e.arapostathis@gmail.com">e.arapostathis@gmail.com</a>>:<br>
>> > Hi,<br>
>> ><br>
>> >    I've installed the new version of Geomoose 2.6 (I was using version<br>
>> > 2.2)<br>
>> > but I'm facing problems with the identify service.<br>
>> > I've changed my map file (like the firestations.map file which I used as<br>
>> > a<br>
>> > template).<br>
>> > At first I saw that now we have to use a template object in our map<br>
>> > script?<br>
>> ><br>
>> > The error message I'm receing is this:<br>
>> ><br>
>> > The service you called did not return valid XML. If you are the system<br>
>> > administrator, you should look into this, if you are not the system<br>
>> > administrator you should tell them about this.<br>
>> ><br>
>> > Below I paste three files. First one is my map file. Second one is my<br>
>> > identify.html file that I was using on Geomoose 2.2. The third one is<br>
>> > the<br>
>> > imagemap_record file which I tried to use as a template.<br>
>> ><br>
>> ><br>
>> > MAP FILE<br>
>> ><br>
>> > MAP<br>
>> >     NAME 'ekthemanew'<br>
>> >     SIZE 800 650<br>
>> >     STATUS ON<br>
>> >     EXTENT  2120556.1495784903 3610867.081920644 3593336.723825039<br>
>> > 5120032.47940209<br>
>> >     UNITS METERS<br>
>> >     INCLUDE "../../geomoose_globals.map"<br>
>> >     TRANSPARENT TRUE<br>
>> >     IMAGETYPE PNG<br>
>> ><br>
>> >     QUERYMAP<br>
>> >         STATUS ON<br>
>> >         STYLE SELECTED<br>
>> >     END<br>
>> ><br>
>> >     PROJECTION<br>
>> >         "init=epsg:3857"<br>
>> >     END<br>
>> ><br>
>> >     WEB<br>
>> >         QUERYFORMAT "text/html"<br>
>> >         INCLUDE "../../temp_directory.map"<br>
>> >         METADATA<br>
>> >             "wms_title" "WMS Ekthemanew"<br>
>> >             "wms_onlineresource" "<a href="http://localhost/cgi-bin/mapserv.exe" target="_blank">http://localhost/cgi-bin/mapserv.exe</a>"<br>
>> >             "wms_srs" "EPSG:3857"<br>
>> >             'ows_enable_request' '*'<br>
>> >         END<br>
>> ><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>
>> >     DEBUG ON<br>
>> ><br>
>> >     LAYER<br>
>> >         DUMP TRUE<br>
>> >         NAME 'ekthemanew'<br>
>> >         CONNECTIONTYPE postgis<br>
>> >         CONNECTION 'host=localhost user=postgres password=1234<br>
>> > dbname=nath_museum'<br>
>> >            DATA 'the_geom FROM ekthemanew'<br>
>> >         TYPE POINT<br>
>> >         STATUS ON<br>
>> >         CLASS<br>
>> >             NAME 'ekthemanew'<br>
>> >               STYLE<br>
>> >              SYMBOL 'arxaia'<br>
>> >              SIZE 15<br>
>> >             END<br>
>> >           END<br>
>> >         #MAXSCALE 1500000<br>
>> >         HEADER 'imagemap_header.xml'<br>
>> >         TEMPLATE 'identify_ekthemanew.html'<br>
>> >         FOOTER 'imagemap_footer.xml'<br>
>> ><br>
>> >         METADATA<br>
>> >             'identify_record' 'identify_ekthemanew.html'<br>
>> >             "ows_title" "Ekthemanew"<br>
>> >             "gml_include_items" "all"<br>
>> >             "ows_include_items" "all"<br>
>> >             "gml_exclude_items" "SHAPE_area,SHAPE_len"<br>
>> >         END<br>
>> ><br>
>> >         TOLERANCEUNITS FEET<br>
>> >         TOLERANCE 1000000<br>
>> >     END<br>
>> ><br>
>> > END ## end Map<br>
>> ><br>
>> > IDENTIFY_EKTHEMANEW.HTML FILE<br>
>> ><br>
>> > <!-- MapServer Template --><br>
>> > <tr><br>
>> > <td colspan="2"><b>Έκθεμα:</b></td><br>
>> > </tr><br>
>> > <tr><br>
>> > <td align="right">Συλλογή:</td><br>
>> > <td>[syllogh_ek]</td><br>
>> > </tr><br>
>> > <tr><br>
>> > <td align="right">Περίοδος:</td><br>
>> > <td>[xronol_ek]</td><br>
>> > </tr><br>
>> > <tr><br>
>> > <td align="right">Περιγραφή:</td><br>
>> > <td>[desc_ek]</td><br>
>> > </tr><br>
>> ><br>
>> > IMAGEMAP_RECORD.XML<br>
>> ><br>
>> > <popup shape='circle' coords='[shpxy xf="," proj=image],5'><br>
>> >     <title>Ekthemata</title><br>
>> >     <id>Id-[gid]</id><br>
>> >     <item title="Nane:">[name_ek]</item><br>
>> >     <item title="Collection:">[syllogh_ek]</item><br>
>> > </popup><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>
><br>
><br>
</div></div></blockquote></div><br>