#3597 closed defect (invalid)
solid polygon fills fade out at borders
Reported by: | kenboss | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | AGG | Version: | 5.6 |
Severity: | normal | Keywords: | polygon fill |
Cc: |
Description
In the accompanying image, the cyan and green fills are generated from a postgis multipolygon layer with no OUTLINECOLOR. Some of the polygon borders are, however, visible as faded lines within the green part of the map (see, e.g., near the double lake just south of the cyan area at upper center).
The OUTPUTFORMAT block and layer definition from the mapfile are below. Note it is possible to work around the problem by specifying an OUTLINECOLOR that is the same as the COLOR for each class, or by foregoing transparency and using straight RGB output.
======================================
OUTPUTFORMAT
NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" FORMATOPTION "INTERLACE=off"
END
LAYER
NAME fire_danger CONNECTIONTYPE postgis CONNECTION "host=%pghost% dbname=%dbname% user=%user% password=%password%" TYPE POLYGON STATUS off DATA "the_geom from forestry_areas using unique id using SRID=26915" CLASSITEM fire_danger_id CLASS
NAME "Low" EXPRESSION "1" COLOR 0 200 0
END CLASS
NAME "Moderate" EXPRESSION "2" COLOR 67 239 239
END CLASS
NAME "High" EXPRESSION "3" COLOR 255 255 0
END CLASS
NAME "Very High" EXPRESSION "4" COLOR 255 200 0
END CLASS
NAME "Extreme" EXPRESSION "5" COLOR 255 0 0
END CLASS
EXPRESSION "0" COLOR 202 202 202
END
END # Layer fire_danger
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | mapserv60.png added |
---|
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
duplicates #3132