[mapserver-users] Can Mapserver expressions contain parens?
Stephen Woodbridge
woodbri at swoodbridge.com
Fri Nov 4 08:17:07 PDT 2016
Ok, on an issue with parens as I reorged the expression to
([FEATWIDTH]*10+4) and still get an error:
getSymbol(): Symbol definition error. Parsing error near
([FEATWIDTH]*10+4):(line 1620)
So maybe expressions are not allowed on WIDTH?
-Steve W
On 11/4/2016 10:43 AM, Stephen Woodbridge wrote:
> 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
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the MapServer-users
mailing list