Opened 17 years ago
Last modified 15 years ago
#2296 assigned enhancement
Repeating labels along linear geometry
Reported by: | cocoloco | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | FUTURE |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | labels |
Cc: |
Description
It would be great to repeat labels along any linear geometry (i.e. streets, roads, rivers, level curves...) See attached file for an example (screenshot from Google maps).
This enhancement would make easier to identify visually long linear geometries on cluttered maps, especially on street maps.
It would be necessary to specify label separation (sorf of GAP parameter). Label separation should be somehow relative to label size.
Also interesting would be that each label position (calculated automatically by mapserver) was somehow "fixed" to the geometry, so that labels moved WITH the geometry, NOT ALONG the geometry, when panning the map.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | linearLabelling.png added |
---|
comment:1 by , 17 years ago
Status: | new → assigned |
---|
Thanks for filling the bug. In your last statement, you're talking about fixed label positions regardless of clipping correct? I plan on implementing pre-clip labels as part of 5.2. In that case you'd label the feature before it was trimmed to the area of interest. If that happens then you'd get that automatically with this feature.
This is not a trivial change though. We're talking about creating multiple label points or paths for each feature instead of the 1 currently supported.
Steve