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

  • August 28, 2018
  • 2 replies
  • 196 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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
Safer
Forum|alt.badge.img+21
  • Safer
  • August 28, 2018

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

TextStroker might be helpful too.