Skip to main content

I want to add an image to a Word file. The image has to show a map with road names, house numbers and reserved areas.

The map I get from a WMS service. The road names, house numbers and reserved areas I read from our PostGIS database as vector features.

I use the "TextAdder" transformer to change the road names and house numbers from vector features to text and use the "VectorOnRasterOverlayer" transformer to create the raster image to use in the MSWordStyler. And I use the "FeatureColorSetter" to set the color of the reserved areas.

It works well with the map and the reserved areas - but the road names and the house numbers isn't shown in the map.

How do I change the text to raster ?

I'd suggest using the MapnikRasterizer to create the raster image you want to insert into your word document.


I'd suggest using the MapnikRasterizer to create the raster image you want to insert into your word document.

TextStroker might be helpful too.

 

 


Reply