Skip to main content
Solved

My input is contour lines, I want to convert to raster. How can I do this? I was thinking contour->vector->raster, but i am not sure how to convert contour to vector. Any help would be appreciated


My input is contour lines, I want to convert to raster. How can I do this? I was thinking contour->vector->raster, but i am not sure how to convert contour to vector. Any help would be appreciated

Best answer by redgeographics

The contours are probably already vector, so you could use for example an ImageRasterizer or MapnikRasterizer to rasterize them.

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

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+50
  • Celebrity
  • Best Answer
  • January 20, 2022

The contours are probably already vector, so you could use for example an ImageRasterizer or MapnikRasterizer to rasterize them.


redgeographics wrote:

The contours are probably already vector, so you could use for example an ImageRasterizer or MapnikRasterizer to rasterize them.

I am not sure, looking at my contours they are polylines I think it would be termed. I used both transformers and it was returning errors.


redgeographics wrote:

The contours are probably already vector, so you could use for example an ImageRasterizer or MapnikRasterizer to rasterize them.

Oh it is working now, I added a featureColorSetter and then the ImageRasterizer and it works! Thank you for the help :)

 


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