Skip to main content
Question

How do I overlay a set of lines/vectors on an image?


Forum|alt.badge.img

How do I overlay a set of lines on an image? See below…. I cant see the lines on the image?

Capture

4 replies

david_r
Celebrity
  • November 9, 2020

I would try the MapnikRasterizer. Just make sure that the vectors are on top of the raster.


Forum|alt.badge.img
  • Author
  • November 9, 2020
david_r wrote:

I would try the MapnikRasterizer. Just make sure that the vectors are on top of the raster.

How do you make sure the vectors are on top?


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • November 9, 2020

The ordering is controlled by the input ports on the Mapnik Rasterizer, with the top port being drawn first as the bottom most layer.

 

Probably a good idea to check that your raster and vector are in the same coordinate system also


Forum|alt.badge.img
  • Author
  • November 9, 2020

Thank you. I've done the everything just not quite seeing the lines appear ontop of the rasta. It seems as if the lines are condensed together at the top left of the rasta once they are combined. Image below.

 

 

 

Capture1 

The yellow lines now seem to be top right? Why are they not overlayed to look the same as above?Capture2

 


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