[GeoMoose-users] Click value on Raster Layer

Dan Little theduckylittle at gmail.com
Wed Jan 21 09:12:57 PST 2026


Hi Dennis!

Sorry for the slow response here. In the history of GM3, I could not find
any other queries about raster investigation! A total valid use case,
especially for identify!

GeoMoose3 works differently with WMS/WFS being the primary way it tries to
process results. GeoMoose 2 allowed raw HTML insertion from MapServer and
that workflow was getting increasingly frowned upon for security reasons.

Is there any chance there is a public endpoint for this right now? It looks
like the basic process should be:
- Configure the DEM as WMS (looks like that's done)
- Defined the <map-source type="wms"> in the mapbook with a <layer> with a
<template> for identify
- (This may be the controversial part) You'll need a <catalog> <layer />
</catalog> entry that lets the layer be on. This might be avoided with some
tricks but I haven't dug all the way in yet. If anything this might be a
necessary debugging step to ensure the WMS is reprojecting properly.

All together this would look something like this:

    <map-source name="dem" type="wms">
        <url>http://somewhere.over/the/rainbow/wms?</url>
        <layer name="DEM" status="on">
            <template name="identify"><![CDATA[
                <div class="identify-result">

                <div class="item"><label>Elevation:</label>{{
properties.item name=value_0|fix>1 }}</div>

                </div>
            ]]></template>
        </layer>
        <param name="FORMAT" value="image/png"/>
        <param name="TRANSPARENT" value="TRUE"/>
        <param name="cross-origin" value="anonymous"/>
    </map-source>

<catalog>
 ...
  <layer src="dem/dem" title="DEM" />
 ...
</catalog>


On Mon, Jan 19, 2026 at 11:51 AM Dennis Falkenberg via GeoMoose-users <
geomoose-users at lists.osgeo.org> wrote:

> I am working on a new GM3 site and would like to replicate, if possible,
> something available on our current GM2.6 site.
>
> The GeoMoose sites are located on an AWS EC2 server.  With our GM2.6 site,
> any location that was clicked with the identify tool returned an elevation
> value based on our most current DEM.  The DEM was listed in the map source
> portion of the conf file, but not in the catalog in GM2.6.
>
> Is it possible to capture elevations off of a DEM with GM3?  My map file
> configuration and identify html verbiage are just below.
>
> Any help would be appreciated!  Thank you
>
>
>
> LAYER # DEM_20
>
>                                 NAME 'be_dem_20'
>
>                                 STATUS ON
>
>                                 TYPE RASTER
>
>                                 DATA 'data/dem/2020/ChippewaCo_DEM.tif'
>
>                                 CLASSITEM "[pixel]"
>
>                                 OFFSITE 0 0 0
>
>                                 MAXSCALEDENOM 25
>
>                                 PROJECTION
>
>                                                 'init=epsg:7595'
>
>                                 END
>
>                                 METADATA
>
>                                                 'ows_title' 'be_dem_20'
>
>                                                 'ows_include_items' 'all'
>
>                                                 'gml_include_items' 'all'
>
>                                                 'ows_exclude_items'
> 'SHAPE_area,SHAPE_len'
>
>                                                 'gml_exclude_items'
> 'SHAPE_area,SHAPE_len'
>
>                                 END
>
>                                 TOLERANCEUNITS meters
>
>                                 TOLERANCE 0
>
> #                             CLASS
>
> #                                             STYLE
>
> #                                                             COLORRANGE
> 255 255 255 0 0 0
>
> #                                                             DATARANGE
> 874 1201
>
> #                                             END
>
> #                             END
>
>                                 TEMPLATE 'dummy'
>
>                 END # DEM_20
>
>
>
> <div class="identify-result">
>
>     <div class="feature-class">2020 Elevation</div>
>
>                 <div class="item"><label>Elevation:</label>{{
> properties.item name=value_0|fix>1 }}</div>
>
> </div>
>
>
>
>
>
>
>
>
>
> *Dennis Falkenberg*
>
>
>
> Chippewa County GIS Coordinator
>
> 715.738.2595
>
> dfalkenberg at chippewacountywi.gov <dfalkenberg at co.chippewa.wi.us>
>
>
>
> Desktop Mapping Site <https://mapping.chippewacountywi.gov/>
>
> Mobile Friendly Mapping Site
> <https://chipcogis.maps.arcgis.com/apps/webappviewer/index.html?id=258d5a3b2ee2476bb1953a443cd703c8>
>
> Data upload site
> <https://chippewacounty.sharefile.com/filedrop/dxa8988a-58cf-4413-b8be-ac4ce8428204>
>
>
>
> CHIPPEWA COUNTY COURTHOUSE HOURS
>
> MONDAY-THURSDAY 7:30 – 4:30
>
> FRIDAY 7:30-11:30
>
>
> _______________________________________________
> 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/20260121/be4a6a6e/attachment.htm>


More information about the GeoMoose-users mailing list