Ticket #372 (closed defect: invalid)
[Mapserver]36 to 40 converstion OVERLAY Objects are LOST!
| Reported by: | thorne@… | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | MapScript | Version: | 4.0 |
| Severity: | major | Keywords: | |
| Cc: |
Description
I have confirmed that when converting a simple 36 map file to 40 with OVERLAY
Objects in the class, the OVRLAY Definition is not put into a second Style
object for that class. It is lost, during the conversion.
eg.
INPUT for Converstion ->Mapserver 36 Class Definision:
CLASS
NAME "Interstates"
EXPRESSION "Interstate"
SYMBOL "circle"
COLOR 51 51 51
SIZE 4
OVERLAYSYMBOL "circle"
OVERLAYCOLOR 220 0 0
OVERLAYSIZE 2
END
OUTPUT from the Conversion -> Mapserver 40:
CLASS
NAME "Interstates"
EXPRESSION "Interstate"
STYLE
SYMBOL "circle"
COLOR 51 51 51
SIZE 4
MINSIZE 1
MAXSIZE 100
END
END
WHAT IT SHOULD BE:
CLASS
NAME "Interstates"
EXPRESSION "Interstate"
#-----------------
#THE OVERLAY STYLE
#-----------------
STYLE
SYMBOL "circle"
COLOR 51 51 51
SIZE 4
MINSIZE 1
MAXSIZE 100
END
#-----------------
#THE BOTTOM STYLE
#-----------------
STYLE
SYMBOL "circle"
COLOR 51 51 51
SIZE 4
MINSIZE 1
MAXSIZE 100
END
END
Note: Notice that the Overlay Style is positions on top of the original symbol
style. I am not sure if this is an issue when building your class where you
have to place the styles in a specific order. If it is we should have a
STYLEORDER Object, maybe (?)....
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

