Hexagon Geospatial
MENU

WebGIS

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Staff
Posts: 11
Registered: ‎03-19-2019

WMS Filter

Hi all,

We would like to filter a WMS. The goal is that just one object is displayed in the picture (with getmap request). The WMS is http://geodienste.geozuerich.ch/SWMSI_DUAUFGRABUNG/service.svc/get?SERVICE=WMS&VERSION=1.3.0&REQUEST...

The layer where the object (red shape) can be found is qry_TAB_WFS_Geom_Aufg_ID_not_NULL and is part of TAB_WFS_Geom_Report and TAB_WFS_Geom. We would like to just show one attribute, for example Geom_Aufg_ID = 6.

Is it possible to filter for one single attribute?

Thanks,

Marlies

 

 

Filter.JPG

Technical Evangelist
Posts: 1,118
Registered: ‎09-11-2015

Re: WMS Filter

[ Edited ]

Hi Marlies,

 

Only way I can think of is using SLD filter. Although it will not select only particular features, it can give them unique style based on attribute value. See some discussion on the topic here:

https://community.hexagongeospatial.com/t5/WebGIS/Consuming-WMS-in-Portal-with-SLD/m-p/10963/highlig...

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.