Opened 13 years ago

Last modified 13 years ago

#3946 new defect

OGR STYLEITEM AUTO line pen styles broken in MS v6.0

Reported by: hoffer53 Owned by: dmorissette
Priority: normal Milestone: 6.0.1 release
Component: OGR Support Version: 6.0
Severity: normal Keywords:
Cc: tbonfort, sdlime


I have found that it is nearly impossible to use the pen styles from OGR STYLEITEM AUTO since starting to use version 6.0. For example, MS will look for ogr-pen-5 and find it in my symbol file, but I can't use PATTERN N N END anymore in the symbol definition. It gets overwritten by the STYLEITEM AUTO if I define the PATTERN in the STYLE inside of the CLASS of the LAYER. I can find no easy work-around for this except to have a large map file or use an older version of Map Server. I like the newer version of MS because of the better rendering. Is this something that will likely be fixed, or is auto-styling going away?

Change History (2)

comment:1 by dmorissette, 13 years ago

Cc: tbonfort sdlime added

Um... sounds like this side-effect was completely overlooked when the PATTERN stuff was moved the the CLASS STYLE level. Not sure what to suggest...

comment:2 by hoffer53, 13 years ago

How difficult would it be to set up the class styles to override the OGR styles if class styles are defined? I might be able to assist in coding if I am pointed in the right direction.

Note: See TracTickets for help on using tickets.