Skip to main content
Question

Option to choose line pointer between polygon and text using MapnikRasterizer

  • March 3, 2025
  • 1 reply
  • 24 views

kidega
Contributor
Forum|alt.badge.img+8

Hi,

Is it possible to choose a line “connector” between a polygon and text object using MapnikRasterizer?

Similar to attached image where the black text and lines are desired layouts. It would be good if an auto placement could be used for no overlapping of text, lines and polygons.

 

 

 

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+54

This is not a functionality out of the box.

But is possible do draw a physical line between the 2. I did this using a Neighbourfinder, then use the closest candidate and closest base x y coordinates and feed that in two vertexcreators.


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