Invalid vector symbol size calculation for horizontal lines #4497

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@aboudreault
Member

Using the UV test in msautotest, we can see that the use of POLAROFFSET seems to be broken for some arrows. I need to investigate in this before 6.2 release. Perhaps this is simply a mapfile issue, but need to be sure. A test also need to be added for POLAROFFSET @tbonfort

@aboudreault aboudreault was assigned Oct 16, 2012
@tbonfort
Member

c.f. #3511

@tbonfort
Member

this one is due to the definition of the arrow body that is ill-defined as a vector symbol. For rendering a horizontal line with a vector symbol, this should be used:

points
 0 0
 1 0
end

instead of

points
 0 0
 5 0

The proposed patch fixes the issue, however this will need some more validation. Demilestoning this for now as there's a workaround.

@tbonfort tbonfort was assigned Nov 14, 2012
@tbonfort
Member

applied to master, closing

@tbonfort tbonfort closed this Dec 14, 2012
@mkofahl mkofahl pushed a commit to faegi/mapserver that referenced this pull request Apr 9, 2013
@tbonfort tbonfort use symbol->sizex if sizey is zero (#4497) 5f7508e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment