Skip to main content
Question

i used feature reader to read WMS (Web Map Service) , to read cartographic map .i would like to cancel specific color from cartographic map ,to able not showing some lines .Does it possible ?

  • October 8, 2021
  • 1 reply
  • 12 views

spiderman
Contributor
Forum|alt.badge.img+7

i used feature reader to read WMS (Web Map Service) , to read cartographic map .i would like to access thedifferent colors in cartographic map and use tester transformer ,to let the lines that include this specific color not showing .

i would like to cancel the pink color from cartographic map .

How could i achieve that ?

Thanks in advance

FME 2018

1 reply

david_r
Celebrity
  • 8392 replies
  • October 8, 2021

A WMS returns a rendered image (raster), and it's not usually possible to remove individual features based on pixel values alone.

A couple of alternatives:

  • Talk to the publisher of the WMS and request a custom layer that corresponds to your requirements
  • Use a WFS with the same data, if available, then you'll get the vector features with attributes and can filter and style them yourself, e.g. using the MapnikRasterizer.