[Geomoose-users] [GM 3.2] Identify Error

Renaud LAIRE r.laire at parc-livradois-forez.org
Mon Aug 20 02:23:14 PDT 2018


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]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20180820/af09e548/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 64198 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20180820/af09e548/attachment-0001.jpg>


More information about the Geomoose-users mailing list