Opened 12 years ago

#4212 new defect

Using GEOMTRANSFORM to replace BACKGROUNDCOLOR

Reported by: DonaldKerr Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: 6.0
Severity: normal Keywords:
Cc:

Description

Whilst revisiting some map files where I used BACKGROUNDCOLOR (now removed from Mapserver) I have noticed some issues with POSITION AND OFFSET.

My old map file had:

BACKGROUNDCOLOR 255 255 192

with the new map file replacing the above with:

STYLE

GEOMTRANSFORM 'labelpoly' COLOR 255 255 192

END

If POSITION is also used and is defined as anything other than CL CC CR then the label is not drawn.

If POSITION is used with a value of either CL or CR, the positioning is inconsistent i.e.

This inconsistency makes it impossible to use any OFFSET to move the label below the symbol.

Attachments (2)

Inconsistent1.gif (4.8 KB ) - added by DonaldKerr 12 years ago.
Inconsistent2.gif (4.6 KB ) - added by DonaldKerr 12 years ago.

Download all attachments as: .zip

Change History (2)

by DonaldKerr, 12 years ago

Attachment: Inconsistent1.gif added

by DonaldKerr, 12 years ago

Attachment: Inconsistent2.gif added
Note: See TracTickets for help on using tickets.