Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.7.6
-
Fix Version/s: None
-
Component/s: WMS
-
Labels:None
-
Number of attachments :2
Description
Mark has been talking about labeling glitches for a couple weeks now; today I got him to pacakge a smaple data set that hopefully we can use to reproduce the problem.
In the attached image you can see "Hay Street" label is in the wrong location; Hay Street is at the end forming a colored "L" shape near the compass; it is connected to the stree where the label shows up - but that street comes from another layer and has different styling....
The sample data has two shapefiles; each one of which is styled three times:
- once for the "outline
- once for the fill
- and once for labeing
I found that the shapefile export from postgis truncated the names; so I had to duck into the SLD and fix up the names before I could try out this style in uDig. I stalled out testing further since labeing in uDig is messed up right now.
-
Hide
- labeling.zip
- 16/Sep/09 8:57 AM
- 361 kB
- Jody Garnett
-
- labeling-again.png 308 kB
- street-collector-1.sld 8 kB
- street-collector-2.sld 9 kB
- street-collector-label.sld 7 kB
- street-collector-label2.sld 7 kB
- __MACOSX/._street-collector-label2.sld 0.2 kB
- street-local-1.sld 6 kB
- street-local-2.sld 8 kB
- street-local-label.sld 4 kB
- street-local-label2.sld 4 kB
- __MACOSX/._street-local-label2.sld 0.2 kB
- street_collector.dbf 142 kB
- street_collector.fix 0.8 kB
- street_collector.prj 0.4 kB
- street_collector.qix 3 kB
- street_collector.shp 8 kB
- street_collector.shx 0.6 kB
- street_local.dbf 1003 kB
- street_local.fix 6 kB
- street_local.prj 0.4 kB
- street_local.qix 17 kB
- street_local.shp 50 kB
- street_local.shx 4 kB
-
- labeling-again.png
- 308 kB
- 16/Sep/09 8:57 AM
Issue Links
- duplicates
-
GEOS-2029
label grouping should group by label text AND by symbolizer
-
Activity
The title seems to suggest a long sequence of reported issues.... which I don't remember seeing.
Please use a title that describes what the issue is instead of describing your frustration with the tool (which is understandable, but won't make for a good changelog and a sensible report)
So after our discussions the other week, this is my understanding of the issue.
Because I'm using the "group" option for all of my road classes, they are grouped only based on the label value (in this case name), without consideration of the different styling applied to different sections of the road. The erroneous label rendering is occurring when a long road is classified under two different styles. While each road segment is uniquely included in one style, the grouping algorithm loses this information. When it comes render time, one of the two styles is rendered, and in some cases it is not the style appropriate for that section of the road. Does that make sense?
The workaround here is for me to do the grouping in the database. I believe this is a 'will not fix'.
Mass closing all issues that have been in "resolved" state for more than a month without further comments
Sample data and screen