Opened 12 years ago
Closed 11 years ago
#2285 closed defect (fixed)
DOTS hatch pattern from DWF files not rendering using AGG Renderer
Reported by: | fare | Owned by: | waltweltonlair |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Drawing Service | Version: | 2.5.0 |
Severity: | minor | Keywords: | |
Cc: | External ID: |
Description
If DWF file contains DOTS hatch pattern filled object, it will not render if AGG Renderer is used.
Dots from DWF file are processed as lines with same starting and ending coordinates(length is 0). Method _TransferPoints from AGGRenderer class is not correctly handling lines that have length=0.
Proposed patch works around this problem. If line length is 0 then line is rendered using value 2*LINE_SEGMENT_DOT_SIZE as it's length. This effectively fixes problem of rendering DOTS hats from DWF.
Attachments (5)
Change History (8)
by , 12 years ago
Attachment: | DOTSHATCH_withoutFIX.png added |
---|
comment:1 by , 12 years ago
Sample files are in EPSG:31276 coordinate system.
Sample images are produced over WMS
Sample without fix