Skip to main content
Solved

Changing a vector geometry to text, converting it to raster and writing it as an image to af Word file


Forum|alt.badge.img

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 ?

Best answer by ebygomm

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

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • August 28, 2018

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


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • August 28, 2018
ebygomm wrote:

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

TextStroker might be helpful too.

 

 


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