[OpenLayers-Users] MapServer OpenLayers Layer fails to load
Jana Golinowski
jgolinowski at codematix.de
Thu Oct 16 13:16:46 EDT 2008
Hi Jeff,
> Here are the layers:
[...]
> LAYER
> NAME "cities"
[...]
> EXPRESSION(3 <= [POP_RANK] and [POP_RANK] <= 5)
[...]
> LAYER
> NAME "largecities"
[...]
> EXPRESSION([POP_RANK]<=2)
[...]
> LAYER
> NAME "majorcities"
[...]
> EXPRESSION ([Pop_2000] > 1000000)
[...]
> LAYER
> NAME "towns"
[...]
> EXPRESSION ([Pop_2000] < 5000)
[...]
> LAYER
> NAME "lakes"
[...]
> EXPRESSION ('[NAME]' eq 'N/A')
[...]
> LAYER
> NAME "rivers"
[...]
> EXPRESSION ('[NAME]' ne 'N/A')
Which version of MapServer are you using? Since MapServer 4.10 we had a problem with expressions in case their attribute was in upper case. Changing them to lowercase might help.
Jana.
More information about the Users
mailing list