load_map() mis-interpretation of dx,dy values as integers #353

Closed
artemp opened this Issue Oct 11, 2011 · 2 comments

Comments

Projects
None yet
1 participant
Owner

artemp commented Oct 11, 2011

TextSymbolizer displacement (dx,dy) values are doubles (source:trunk/src/text_symbolizer.cpp#L70), but load_map assumes they are integers and bails during parsing:
{{{
// --> Failed to parse attribute 'dy'. Expected type integer but got '6.5' in TextSymbolizer in style 'Osm_au_line_labels'
}}}

Owner

artemp commented Oct 11, 2011

[springmeyer] cc'ed migurski as this might have prevented subtle usage in the cascadenik pre-xmlbad code

Owner

artemp commented Oct 11, 2011

[springmeyer] fixed in r1165

artemp closed this Oct 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment