[Geomoose-users] TR: [GM 3.2] Identify Error
Renaud LAIRE
r.laire at parc-livradois-forez.org
Wed Aug 22 02:50:03 PDT 2018
I progress ..
I’ve remove the query-attribute of ALL layers and the « typeError Cannot read property … » has disappeared.
I have to write « queryable = 1 » in the <map-source> te see the Identify result. I’ve just the title, no result, but surely an error in my fields
If i use « queryable=true », it doesn’t work (WMS server error. Requested layer(s) are not queryable).
De : Geomoose-users <geomoose-users-bounces at lists.osgeo.org> De la part de Renaud LAIRE
Envoyé : mercredi 22 août 2018 08:37
À : 'geomoose-users at lists.osgeo.org' <geomoose-users at lists.osgeo.org>
Objet : Re: [Geomoose-users] TR: [GM 3.2] Identify Error
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<mailto:theduckylittle at gmail.com>>
Envoyé : mardi 21 août 2018 21:14
À : Renaud LAIRE <r.laire at parc-livradois-forez.org<mailto:r.laire at parc-livradois-forez.org>>
Cc : GeoMOOSE Users List <geomoose-users at lists.osgeo.org<mailto: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/ffb1c8a0/attachment.html>
More information about the Geomoose-users
mailing list