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 ?

  • 8 October 2021
  • 1 reply
  • 2 views

Badge +3

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

Userlevel 4

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.

Reply