Skip to main content

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/.

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.


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


Reply