Bug 202 - [SECTStudio] Polygon Fill & Background/Color parameters -1 -1 -1
: [SECTStudio] Polygon Fill & Background/Color parameters -1 -1 -1
Status: VERIFIED FIXED
: MapLab
SECT (Studio)
: 3.0
: PC Windows 2000
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-02-17 10:38 by
Modified: 2004-02-24 16:34 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-02-17 10:38:31
The main problem of this bug is that I have been unable to fill color a polygon
and the previews of the colors within the symbolizer is %90 incorrect.

When applying a color (255,0,0) to a symbol on a fill polygon, the preview of
style is incorrect. The background color turns red, where the symbols turn black.

The root of the problem for the symbolizer preview is that when the Color or
background is not set (an 'X' shows up in the color box). the color or
background is set to (0,0,0) black, and not (-1,-1,-1)

The final output of the map is also very incorrect!!!
When I then apply the color to the polygon layer everything turns red in the map
image. It is almost as if the colors being applied is set to the raster feature
type????
------- Comment #1 From 2004-02-17 12:10:07 -------
* I have updated my Mapserv_41.exe and php_mapscript_41.dll. 
* Also I have found out that Background interface feature is not valid. There is
not such thing as Background color in SLD. This feature will be removed.
* I was able to apply my changes to mapfile.

Style Preview Issue:
--------------------

1) Circle, Star, Triangle, X, Cross in the Style Layer Preview and Main Style
Preview the background color is black and not transparent (white).

2) Square: A square makes a solid fill no matter what Size the symbol is.
Shouldn't there be spaces between the squares? (this maybe a mapserver bug. but
I want to ask first before entering a bug about it).

3) When there are multiple layers to the style. the preview and applied Style is
the style found at the bottom of the layered styles. The problem is the layered
style does not merge the styles within a single map layer.


All three of these issues could be separate bug, but I want more information
about these issues.

  
------- Comment #2 From 2004-02-18 17:29:36 -------
1) Circle, Star, Triangle, X, Cross in the Style Layer Preview and Main Style
Preview the background color is black and not transparent (white).

* which preview?  The one in the classifier or the one in the symbolizer?  There
was a bug with this before but I think that was fixed.  Please verify with CVS
version that this still exists.  What layer type (assume polygon)?

2) Square: A square makes a solid fill no matter what Size the symbol is.
Shouldn't there be spaces between the squares? (this maybe a mapserver bug. but
I want to ask first before entering a bug about it).

I do not believe that there should be spaces between squares.  Squares don't
make for good fill patterns except a solid fill.  They are intended to be used
on points ... I do not think this is a bug.

3) When there are multiple layers to the style. the preview and applied Style is
the style found at the bottom of the layered styles. The problem is the layered
style does not merge the styles within a single map layer.

not sure what you mean by this ... please note that the order of the styles is
probably reversed from what you would expect, i.e. the one at the top of the
list is drawn first and then the others are drawn on top of it.  This means that
it is very possible to lose a style underneath another one.
------- Comment #3 From 2004-02-19 09:29:24 -------
Sorry it occurs in the:
1) Classifer Symbolizer button preview
2) Symbolizer Style Preview
3) Symbolizer single Style preview.

The reason why you are probably not seeing this issue, it is only happens with
"Polygon fill" style preview. The background fill of the preview is black.

When applying the Polyon fill style to the map the background becomes white.
------- Comment #4 From 2004-02-19 09:48:47 -------
2) Square: A square makes a solid fill no matter what Size the symbol is.
Shouldn't there be spaces between the squares? (this maybe a mapserver bug. but
I want to ask first before entering a bug about it).

For the square polygon fill could we have instead of square fill in the
combobox, could the style description be "solid (square)" ? 
------- Comment #5 From 2004-02-23 11:24:46 -------
both issues are fixed in cvs (black background in previews and name of square in
polygon fill)