[Geomoose-users] 3.x Layer Search Feature

Brent Fraser bfraser at geoanalytic.com
Thu Sep 16 12:50:43 PDT 2021


Hi Clinton

Do you mean the Identify (mouse click) service, or the Search service (type in attribute value)?

Best Regards,
Brent Fraser

----------------------------------------
From: "Clinton Olsen" <ClintonO at emery.utah.gov>
Sent: 9/16/21 1:17 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] 3.x Layer Search Feature

I am working on updating Geomoose from 2.9 to 3.8.  A problem I am running into is the layer search feature.  The search operations feature is only supported on vector, geojson, ags-vector, wfs and mapserver-wfs map-source type.  Do I need to do something different to the shapefiles I am using in order to get this feature to work, or just change the coding in the mapbook for it to work?  

Sample code:
<map-source name="bookpage" type="mapserver" title="Plat Info">
<file>./demo/book_page/book_page.map</file>
<layer name="bookpage" status="off">
<template name="identify"><![CDATA[
<div>
<div class="feature-class bookpage"><h3>Emery County Plat Info</h3></div>
<div class="item"><b>Plat:</b> {{ properties.booktxt }}/{{ properties.pagetxt }}</div>
</div>
]]></template>
</layer>
<param name="FORMAT" value="image/png"/>
</map-source>

--
-- 
Clinton OlsenIS/GIS Technician
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20210916/8f84481c/attachment.html>


More information about the Geomoose-users mailing list