[Geomoose-users] TR: [GM 3.2] Identify Error
Renaud LAIRE
r.laire at parc-livradois-forez.org
Tue Aug 21 23:36:52 PDT 2018
Hi Dan.
I’ve already try ti remove the query-as attribute, but no effect.
I used the demo with my personal layers, and i ve the error but the parcel demo also. Maybe a directory error ?
De : Dan Little <theduckylittle at gmail.com>
Envoyé : mardi 21 août 2018 21:14
À : Renaud LAIRE <r.laire at parc-livradois-forez.org>
Cc : GeoMOOSE Users List <geomoose-users at lists.osgeo.org>
Objet : Re: [Geomoose-users] TR: [GM 3.2] Identify Error
Can you try dropping the query-as attribute from your layer? I haven't tested query-as when it's referring to the same layer.
On Mon, Aug 20, 2018 at 7:52 AM Renaud LAIRE <r.laire at parc-livradois-forez.org<mailto:r.laire at parc-livradois-forez.org>> wrote:
Hi all.
I’m using geomoose 2.9, and now i try to migrate to geomoose 3.2
I’ve already transferred my data and it’s work great.
But when i try tu use the identify, i ve no result (blank screen on tab) , with the error on console ‘TypeError: Cannot read property 'templates' of null’
The mapbook :
<map-source name="adm" type="mapserver" up="true" down="true" title="Limites Communales">
<file>./maps/adm.map</file>
<layer name="com" status="on" query-as="adm/com">
<template name="identify" src="./templates/adm/identify_commune.html" />
</layer>
</map-source>
The mapfile :
LAYER
TYPE polygon
NAME "com"
CONNECTIONTYPE postgis
CONNECTION "host=localhost user=----- password=----- dbname=bdgeo"
DATA "geom from admin.communes as foo USING UNIQUE id USING SRID=2154"
STATUS OFF
TRANSPARENCY 75
……..
And the file is well open when i try http://_IP_/desktop/templates/adm/identify_commune.html
Where i ‘ve forget something ?
Any hints ?
Thanks,
Renaud LAIRE
PNR Livradois Forez
Maison du Parc
63880 ST Gervais sous Meymont
04 73 95 57 57
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20180822/0781cd26/attachment-0001.html>
More information about the Geomoose-users
mailing list