Opened 17 years ago
Closed 13 years ago
#2110 closed defect (wontfix)
Symbol File Problem - Clipping
Reported by: | plasmab | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
Using mapserver i need to render a diagonal patterned fill with a 15px spacing between lines, and a pattern line width of 1px. The following symbol *used* to work on version 4.4.2
SYMBOL
NAME "mapinfo-brush-5" TYPE vector POINTS
0 1 1 0
END
END
I can get a close approximation of the required effect with :-
SYMBOL
NAME "mapinfo-brush-5" TYPE vector POINTS
0 15 15 0
END
END
However the brush fill is not clipped to the extent of the polygon. i.e. The brush draws outside the poly, which it should not do.
Stephen
Change History (5)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Component: | AGG → MapScript |
---|
comment:4 by , 17 years ago
Status: | new → assigned |
---|
I just tried this and it worked ok for me with a simple triangle feature. See:
I can vary the spacing using the SIZE element in a STYLE. Here's the mapfile I used:
MAP
NAME 'bug2110' EXTENT 0 0 1000 1000 SIZE 500 500
SYMBOL
NAME 'hatch' TYPE VECTOR POINTS 0 1 1 0 END
END
LAYER
NAME 'test' TYPE POLYGON STATUS ON FEATURE
POINTS 50 25 400 700 900 300 50 25 END
END CLASS
STYLE
COLOR 255 0 0 SYMBOL 'hatch' SIZE 15
END
END
END
END
So, I guess I don't see the problem. Note this is using the main svn branch with GD 2.0.34.
Is there more information you can provide (test case with data and a mapfile?)...
Steve
comment:5 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
tile joining with vector symbols cannot be obtained with antialiased renderers. use the HATCH symbol that is designed for this case.
Can you confirm this is indeed an AGG problem and that it works for GD? That will help determine who sees the bug.
Steve