[Geomoose-users] Identify error in Geomoose 2.6 (trying to update cersion from geomoose 2.2)

Matej Mailing mailing at tam.si
Tue Oct 16 11:10:42 PDT 2012


Hi,

try to check to output of the template.php with Firebug and perhaps
turning the debugging mode on. You will get more information then.

Regards,
Matej

2012/10/16 Efstathios Arapostathis <e.arapostathis at gmail.com>:
> Hi,
>
>    I've installed the new version of Geomoose 2.6 (I was using version 2.2)
> but I'm facing problems with the identify service.
> I've changed my map file (like the firestations.map file which I used as a
> template).
> At first I saw that now we have to use a template object in our map script?
>
> The error message I'm receing is this:
>
> The service you called did not return valid XML. If you are the system
> administrator, you should look into this, if you are not the system
> administrator you should tell them about this.
>
> Below I paste three files. First one is my map file. Second one is my
> identify.html file that I was using on Geomoose 2.2. The third one is the
> imagemap_record file which I tried to use as a template.
>
>
> MAP FILE
>
> MAP
>     NAME 'ekthemanew'
>     SIZE 800 650
>     STATUS ON
>     EXTENT  2120556.1495784903 3610867.081920644 3593336.723825039
> 5120032.47940209
>     UNITS METERS
>     INCLUDE "../../geomoose_globals.map"
>     TRANSPARENT TRUE
>     IMAGETYPE PNG
>
>     QUERYMAP
>         STATUS ON
>         STYLE SELECTED
>     END
>
>     PROJECTION
>         "init=epsg:3857"
>     END
>
>     WEB
>         QUERYFORMAT "text/html"
>         INCLUDE "../../temp_directory.map"
>         METADATA
>             "wms_title" "WMS Ekthemanew"
>             "wms_onlineresource" "http://localhost/cgi-bin/mapserv.exe"
>             "wms_srs" "EPSG:3857"
>             'ows_enable_request' '*'
>         END
>
>     END
>
>     LEGEND
>           STATUS ON
>           LABEL
>         TYPE TRUETYPE
>         FONT vera_sans
>         SIZE 8
>         COLOR 0 0 0
>           END
>     END
>
>     DEBUG ON
>
>     LAYER
>         DUMP TRUE
>         NAME 'ekthemanew'
>         CONNECTIONTYPE postgis
>         CONNECTION 'host=localhost user=postgres password=1234
> dbname=nath_museum'
>            DATA 'the_geom FROM ekthemanew'
>         TYPE POINT
>         STATUS ON
>         CLASS
>             NAME 'ekthemanew'
>               STYLE
>              SYMBOL 'arxaia'
>              SIZE 15
>             END
>           END
>         #MAXSCALE 1500000
>         HEADER 'imagemap_header.xml'
>         TEMPLATE 'identify_ekthemanew.html'
>         FOOTER 'imagemap_footer.xml'
>
>         METADATA
>             'identify_record' 'identify_ekthemanew.html'
>             "ows_title" "Ekthemanew"
>             "gml_include_items" "all"
>             "ows_include_items" "all"
>             "gml_exclude_items" "SHAPE_area,SHAPE_len"
>         END
>
>         TOLERANCEUNITS FEET
>         TOLERANCE 1000000
>     END
>
> END ## end Map
>
> IDENTIFY_EKTHEMANEW.HTML FILE
>
> <!-- MapServer Template -->
> <tr>
> <td colspan="2"><b>Έκθεμα:</b></td>
> </tr>
> <tr>
> <td align="right">Συλλογή:</td>
> <td>[syllogh_ek]</td>
> </tr>
> <tr>
> <td align="right">Περίοδος:</td>
> <td>[xronol_ek]</td>
> </tr>
> <tr>
> <td align="right">Περιγραφή:</td>
> <td>[desc_ek]</td>
> </tr>
>
> IMAGEMAP_RECORD.XML
>
> <popup shape='circle' coords='[shpxy xf="," proj=image],5'>
>     <title>Ekthemata</title>
>     <id>Id-[gid]</id>
>     <item title="Nane:">[name_ek]</item>
>     <item title="Collection:">[syllogh_ek]</item>
> </popup>
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list