Opened 15 years ago
Closed 13 years ago
#2876 closed defect (fixed)
infinite rendering loop of SYMBOL defined with GAP using with SIZE 0
Reported by: | szigeti | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | Renderer API | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | symbol gap |
Cc: | tbonfort |
Description
program stucks in drawPolylineMarkers
if a LINE of SYMBOLS is drawn with SIZE 0 and with GAP keyword in the SYMBOL:
LAYER [...] CLASS [...] STYLE SYMBOL 'POTTY' COLOR 180 180 220 SIZE 0 END END END [...]
with
SYMBOL NAME 'POTTY' TYPE ELLIPSE POINTS 1 1 END GAP 1 FILLED TRUE END
infinite loop. But
SYMBOL NAME 'POTTY' TYPE ELLIPSE POINTS 1 1 END # GAP 1 FILLED TRUE END
_no_ infinite loop, normal execution!
Well, it's clear, that computationally it is not a bug - if Y = X + n*STEP
and STEP=0
then n
must be infinitely big... but maybe it isn't much work to handle this special (skip drawing) case internally.
Negative SIZE values seem to have the same problem.
Change History (2)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
Component: | MapServer C Library → Renderer API |
---|---|
Milestone: | → 6.0 release |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
this should not occur in 6.0, we do not enter the msImagePolylineMarkers if the spacing is <=0.