Opened 13 years ago
Closed 13 years ago
#3910 closed defect (fixed)
Missing Outline when using Pixmap Symbols in Version 6.0.0
Reported by: | klau | Owned by: | havatv |
---|---|---|---|
Priority: | normal | Milestone: | 6.0.1 release |
Component: | Renderer API | Version: | 6.0 |
Severity: | normal | Keywords: | Outline Pixmap Symbols |
Cc: |
Description (last modified by )
In my php_mapserver environement pixmap symbols are drawn but an outline is missing. For rendering I use agg/png. The problem occurs when using php mapserver 6.0.0 on OpenSUSE 11.2, compiled from source. Using 5.6.6 outlines are drawed correctly.
My map and symbol file look like the following
OUTPUTFORMAT NAME aggpng24 DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGBA # transparent background EXTENSION "png" END ... LAYER NAME "A31" TYPE POLYGON STATUS ON DATA "shape/31" CLASS NAME "X" STYLE COLOR 255 219 170 OUTLINECOLOR 10 10 10 SYMBOL "x" END TEMPLATE " " END END ------------------ SYMBOL NAME 'x' TYPE PIXMAP IMAGE 'x.png' END
Change History (4)
comment:1 by , 13 years ago
Component: | MapScript-PHP → Renderer API |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 13 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Thank you very much, it works. But in this case I guess you should update your documentation. In the the section "Cartographical Symbol Construction with MapServer" in paragraph "Polygon fills with symbols of TYPE pixmap" I found examples like
Construction of a horizontally arranged area symbol
CLASS section
CLASS
STYLE
COLOR 255 255 0
END STYLE
SYMBOL "in_the_star" COLOR 0 0 0 OUTLINECOLOR 0 0 0
END
END
SYMBOL definition
SYMBOL
NAME "in_the_star" TYPE PIXMAP IMAGE "stern.png" TRANSPARENT 8
END
According to your answer I guess this doesn't work. Regards
Klaus
comment:3 by , 13 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | reopened → new |
Havard,
was the star example generated with mapserver 6 and that exact style definition?
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There was an undocumented shorthand in previous versions that allowed you to put the outline in the same style block as the symbol.
You should use two different style blocks: