[Geomoose-users] TR: [GM 3.2] Identify Error

Dan Little theduckylittle at gmail.com
Tue Aug 21 12:13:47 PDT 2018


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> 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
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20180821/ce487d2a/attachment.html>


More information about the Geomoose-users mailing list