Opened 12 years ago

#4159 new defect

Problem with [MYCOLOR] - Implementation

Reported by: jaykayone Owned by: msogcbugs
Priority: normal Milestone:
Component: WMS Server Version: 6.0
Severity: major Keywords:
Cc:

Description

There seems to be a bug with the [MYCOLOR] implementation in 6.0.1.

What I observe is the following:

I use the Map-File in a WMS - Request. When the BBOX in the WMS - Request returns several line features having different colors, the renderer will render all the visible line features with the same color.

This is the mapfile:

LAYER

NAME category_999_line GROUP category_999 TYPE LINE CONNECTIONTYPE POSTGIS INCLUDE "connection.map" DATA "geometry FROM (SELECT * FROM v_feature LEFT JOIN map ON v_feature.map_id = map.uuid) AS foo USING UNIQUE id" FILTER "GeometryType(geometry) = 'LINESTRING' AND category_id is null AND public = 't'" LABELITEM 'rgbcolor' CLASS

STYLE COLOR 0 0 0 WIDTH 7 END STYLE COLOR 254 254 254 WIDTH 5 END STYLE COLOR [rgbcolor] WIDTH 3 END LABEL

COLOR 0 0 0 ANTIALIAS TRUE FONT vera TYPE TRUETYPE POSITION CC PARTIALS FALSE SIZE 7 BUFFER 0 FORCE FALSE OUTLINEWIDTH 3 OUTLINECOLOR [rgbcolor]

END

END PROJECTION

"init=epsg:2169"

END

END

I added the label to show the RGB - value on the map. In the screenshot every line is purple, although the labels are not all purple.

when i zoom in so that there is only one line in the extent, the color is correct.

Attachments (2)

zoomed_out.jpg (38.8 KB ) - added by jaykayone 12 years ago.
here everything is purple
zoomed_in.jpg (17.4 KB ) - added by jaykayone 12 years ago.
here the color is correct

Download all attachments as: .zip

Change History (2)

by jaykayone, 12 years ago

Attachment: zoomed_out.jpg added

here everything is purple

by jaykayone, 12 years ago

Attachment: zoomed_in.jpg added

here the color is correct

Note: See TracTickets for help on using tickets.