Skip to main content

Here is the sample of what I am trying to achive:

 

I think I do have all required data: Orthophotomap, DTM and DSM. The goal is to have different colors next to different heights. There is no classification here going on. I am struggling to find what FME tools should I use, mostly because I am not sure how is that type of map even called in English.

You can use a RasterCellValueCalculator to subtract your DTM and DSM and you'll end up with a raster that shows the difference between the two.

Then to get different colors for different heights you could try to convert it to vector (RasterCellCoercer) and then use the GradedColorizer from the FME Hub before converting your result back to raster (ImageRasterizer or MapnikRasterizer). It'll be a bit clunky though, especially if you have a big raster.

I don't think you need the Orthophoto, except maybe to blend it in to the final result to give a bit of context.


I would use the RasterHSVShader custom transformer availabe on the hub.

 

 

If necessary you can modify it to only use the calculatedRGB values, not combine it with the hill shader.

I would use the RasterHSVShader custom transformer availabe on the hub.

 

 

If necessary you can modify it to only use the calculatedRGB values, not combine it with the hill shader.

That seems to work like a charm with DSM, thanks mate


Reply