Hi,<br><br> I've tried firebug, I'm receiving the following message:<br><br><br>
<pre><code class="wrappedText focusRow">Fatal error: Uncaught exception 'MapScriptException' with message 'Unable to construct shapeObj.' in</code><code class="wrappedText focusRow"> C:\ms4w\apps\geomoose2\htdocs\php\identify.php:145<br>
</code><code class="wrappedText focusRow">Stack trace:<br></code><code class="wrappedText focusRow">#0 C:\ms4w\apps\geomoose2\htdocs\php\identify.php(145): ms_shapeObjFromWkt('')<br></code><code class="wrappedText focusRow">#1 {main}<br>
</code><code class="wrappedText focusRow"> thrown in C:\ms4w\apps\geomoose2\htdocs\php\identify.php on line 145</code></pre>
<br><br>Additional Info: My layer is a PostGIS Layer. I'm attaching the map file and 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><pre><code class="wrappedText focusRow"><br><font></font></code><br></pre><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 9: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:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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>
<div><div class="h5">> Hi,<br>
><br>
> I've installed the new version of Geomoose 2.6 (I was using version 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 a<br>
> template).<br>
> At first I saw that now we have to use a template object in our map 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 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>
</div></div>> _______________________________________________<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>
</blockquote></div><br>