Opened 14 years ago
Closed 14 years ago
#3477 closed defect (fixed)
getSymbol(): Symbol definition error. Parsing error near (angle)
Reported by: | relet | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: |
Description
I get the error
getSymbol(): Symbol definition error. Parsing error near (angle)
when using the following code in a mapfile parsed by trunk, which used to work in earlier mapserver versions (5.4.0-beta3).
CLASS NAME "Tekst type 3" EXPRESSION (([skriftkode] >= 7) && ([skriftkode] <= 11)) #MAXSCALE 400000 TEXT ([textstring]) LABEL PRIORITY [fontsize] angle [myangle] COLOR 1 1 1 OUTLINECOLOR 254 254 229 TYPE TRUETYPE FONT "verdana" SIZE [fontsize_2] ENCODING "UTF-8" #MINSIZE 8 ANTIALIAS TRUE POSITION cc FORCE TRUE PARTIALS TRUE END END
The same syntax works fine when using a numeric value instead of the postgis column name "myangle".
Attachments (1)
Change History (3)
comment:1 by , 14 years ago
by , 14 years ago
Attachment: | anglesymbol.patch added |
---|
MS_BINDING was ignored in the lexer, probably due to someone adding a keyword in the meantime.
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The correct error message should read