Skip to main content

I wish to add text record of attributes to jpgs. I am creating a workspace runner to do this. However, I cannot get the text to be applied to the raster. I can see that the text is created in Inspector, but Vector on Raster overlayer does not write the text to the new raster. (See workspace)

I tried mapnikrasterizer with even less success; I couldn't get any product from the jpg writer.

This seems like it should be a simple fix.

Your help is much appreciated,

William

Hi @wellis11,

I simulated here in my machine your case.

For to put your text inside the raster file, you need to use the transformer TextStroker after the transformer FeatureColorSetter_3 .

And my Writer JPEG file was generated with the Text Hello.

Thanks,

Danilo


Hi @wellis11,

I simulated here in my machine your case.

For to put your text inside the raster file, you need to use the transformer TextStroker after the transformer FeatureColorSetter_3 .

And my Writer JPEG file was generated with the Text Hello.

Thanks,

Danilo

Success! Thank you so much!

 

 

Your solution worked like a charm.

 

 

Sincerely,

 

William

 

 


Success! Thank you so much!

 

 

Your solution worked like a charm.

 

 

Sincerely,

 

William

 

 

Hi @wellis11,

 

I'm happy to your problem has a good solution.

 

 

Thanks,

 

Danilo

 


In addition to @danilo_inovacao's suggestion, the MapnikRasterizer could be useful too.


Reply