Skip to main content
Question

Color feature with HEX value in a column


tigercole

Hi.. I have an FMW workflow that reads a shapefile with H3 polygons. Each polygon has a HEX color attribute (eg #000000). I need to do 2 operations:

 

  1. Style the shapefile filling each polygon with color using the HEX attribute
  2. Render and write the layer as a raster image (Geotiff or JPG)

Can this be done, and how?

 

Thanks,

 

tC/.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

I think you need the MapnikRasterizer for this. No expert in this. Not sure if anything exists to go from hex colors to fme colors. You can always try and reverse the HTMLColorCalculator.


redgeographics
Celebrity
Forum|alt.badge.img+49

To go from Hex colors to FME colors you can use my ColorConverter custom transformer


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings