Opened 11 years ago

Closed 10 years ago

#2484 closed defect (fixed)

Base layers with labels do not render correctly

Reported by: zhanga Owned by:
Priority: medium Milestone:
Component: Tile Service Version: 2.6.0
Severity: minor Keywords: Tile, 2.6backport
Cc: External ID:

Description

When a point feature source is used as a base layer, and a feature label is applied, the features do not render correctly. The labels are not shown at all, and most of the features are not shown either.

Change History (4)

comment:1 by zhanga, 11 years ago

Mg server uses LabelRendererLocal to render labels of base layers. The last parameter 'path' of method

void LabelRendererLocal::ProcessLabelGroup(SE_LabelInfo*    labels,
                                           int              nlabels,
                                           RS_OverpostType  type,
                                           bool             exclude,
                                           LineBuffer*      path)

is NULL when it is a point feature. But we don't check before using it.

by zhanga, 11 years ago

Attachment: 2484.patch added

patch for ticket #2484

comment:2 by jng, 10 years ago

Keywords: 2.6backport added

comment:3 by jng, 10 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r8359), 2.6 (r8361)

Note: See TracTickets for help on using tickets.