Ticket #4227 (new defect)
Horizontal lines drawn for empty labels
| Reported by: | rblazek | Owned by: | pramsey |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PostGIS Interface | Version: | 6.0 |
| Severity: | normal | Keywords: | |
| Cc: | rblazek, tbonfort, sdlime |
Description
If a label field is empty, horizontal line / box is drawn instead of nothing. It happens if:
- CONNECTIONTYPE POSTGIS
- label field is of type character
- label style is defined
Label style example:
LABEL
STYLE
COLOR 192 192 192
END
END
Postgres: "Values of type character are physically padded with spaces to the specified width n, and are stored and displayed that way. However, the padding spaces are treated as semantically insignificant."
It seems that Mapserver takes those empty spaces to create labelpoly geometry. It is probably wrong and definitely inconvenient.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

