[mapserver-users] Can Mapserver expressions contain parens?

Stephen Woodbridge woodbri at swoodbridge.com
Fri Nov 4 07:43:46 PDT 2016


I'm trying to use a style like:

       STYLE
         COLOR "#000000"
         WIDTH (([FEATWIDTH]+.4)*10)
       END

but I'm getting:

getSymbol(): Symbol definition error. Parsing error near 
(([FEATWIDTH]+.4)*10):(line 1620)


MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ 
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS 
SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER 
SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS 
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

-Steve W

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the mapserver-users mailing list