Ticket #328 (closed defect: fixed)
Vertical Alignment is serialized as integer, load_map() can't parse
| Reported by: | springmeyer | Owned by: | artem |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.6.1 |
| Component: | XML | Version: | 0.6.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Patch Needs Improvement: | no | |
| Needs Docmentation: | no | Has Patch?: | no |
| Design Decision Needed: | no |
Description
serialized output of 'save_map()' gives:
<Style name="states_shp_labels">
<Rule>
<TextSymbolizer name="STATE_ABBR" face_name="DejaVu Sans Book" size="12" fill="rgb(0,0,0)" dx="0" dy="0" placement="point" vertical_alignment="2" halo_radius="0" halo_fill="rgb(255,255,255)" text_ratio="0" wrap_width="0" spacing="0" min_distance="0" allow_overlap="0"></TextSymbolizer>
</Rule>
</Style>
results in failure during 'load_map()':
UserWarning: Failed to parse attribute 'vertical_alignment'. Expected one of [top, middle, bottom] but got '2' in TextSymbolizer in style 'states_shp_labels'
Change History
Note: See
TracTickets for help on using
tickets.
