accessing postgis colum type as integers instead of strings
Gregor Mosheh
gregor at HOSTGIS.COM
Sat Dec 23 08:16:14 PST 2006
> My problem is that the data type being accessed is a integer and it
> seems to be impossible to compare this value as a number instead of a
> string in an EXPRESSION statment any suggestions?
Are you sure you're using the proper comparison operator and syntax?
What's in your mapfile?
String comparison:
EXPRESSION ( "[population]" > "1000000" )
Numeric comparison:
EXPRESSION ( [population] > 1000000 )
More information about the MapServer-users
mailing list