[Geomoose-users] Highlight Parcel and runtime substitution

Colas, Scott Scott.Colas at ct.gov
Wed Nov 28 06:09:20 PST 2018


Hello All,
I have  a service that does a search for a project. My goal is to zoom to this project and highlight. I can zoom to this project using GeoMOOSE.zoomToPointsList, but I cannot highlight the area.
In my map file I am using filterItem and filter.
How do I send my variable from a service to a map file so I can filter on this variable?

  LAYER
      INCLUDE "../../db_connection"
    DATA "geometry3857 FROM [ASSETS].[ProjectWorkAreas] USING UNIQUE AreaID USING SRID=3857"
    PROCESSING "NATIVE_FILTER=([IsProposed] = 0)"
       LABELITEM "ProjectNumber"
       CLASSITEM "PROJ_CURRENT_PHASE"
       NAME "LocalhProjectPolygons"
       TYPE POLYGON
       VALIDATION
        "PROJECTNUM" "[0-9]+"
       END

FILTERITEM "ProjectNumber"
       FILTER "%PROJECTNUM%"

       CLASS
              NAME "05 Construction"
              EXPRESSION "05_Construction"
              TEXT "%PROJECTNUM%"
              LABEL
                     MAXSCALEDENOM 28000
                     FONT "vera_sans"
                     SIZE 10
                     ALIGN CENTER
                     COLOR 255 0 0

Thank you,
-Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20181128/e9921a98/attachment.html>


More information about the Geomoose-users mailing list