Ticket #52 (new enhancement)

Opened 12 months ago

Last modified 2 months ago

Add option to label placement to use clipped geometeries

Reported by: jkemp101 Owned by: artem
Priority: normal Milestone:
Component: Core Library Version:
Severity: Normal Keywords:
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

Enhance the label placement techniques so that you can optionally choose/configure a clipped geometry instead of the entire layer when finding label position. It would most likely be useful to be able to designate an arbitrary boundary so that the entire layer could be used, a boundary larger than the current map zoomed envelope, or the current map zoomed envelope could be used.

Change History

Changed 12 months ago by jkemp101

May be useful to add another option that keeps labels from breaking across the defined boundary. This would allow tiles to be rendered using this option with out parts of labels being generated.

Changed 2 months ago by springmeyer

  • priority set to normal

This would be really cool. I wonder what functionality already exists in the feature query stuff though?

You can achieve this by doing sub-selects on your postgis geometries (if using postgis) in the mapfile or python syntax and then have your labels be associated this this sub-selected data as a new layer.

Note: See TracTickets for help on using tickets.