Skip to main content
Question

Shape polygon to raster and then mosaic to raster

  • November 13, 2013
  • 2 replies
  • 45 views

Hi,

 

 

I have a shape file with a price for each polygon and I want to convert that to a raster in order to be able to mosaic these values to another raster. How is that possible? Many thanks! 
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

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 14, 2013
Hi,

 

 

You can vectorize your text > TextStroker (if I understand correctly) and resterize it with the ImageRasterizer.

 

 

See http://fmepedia.safe.com/articles/Samples_and_Demos/Converting-Vector-data-to-Raster for some examples.

 

 

Itay

  • Author
  • November 14, 2013
Thank you for your answer. Maybe I should explain a bit more what the problem is about. First of all I want to create a raster for a larger area with grids of 20 m cells from an existing raster (1,6 m cells) and use a z value of zero. I Think I have managed to do so.  After that I want to rasterize a shape file with many polygons with size 20m * 20 m corresponding to the raster that I have created. However the shape file with polygons only cover some of the cells of the raster so I want these polygons with an attribute value (price) to replace the cells of the raster with zeros at the location where the polygons overlap. If I use the ImageRasterizer the error message becomes: 2032 input feature(s) were discarded because they were not compatible with any band in the raster..What to do? thanks