[mapserver-users] how use the expression function "area"

Andrea Peri aperi2007 at gmail.com
Tue Jan 8 01:56:09 PST 2013


Hi,

I see in the mapserver 6.2 is added the function "area" to the expressions.

So I try to use  this expression:

EXPRESSION ( (area([GEOMETRY]) > 10000000) )

where geometry is the geometry field.
The datasource is a spatialite db where the geometry filed is named "GEOMETRY"

It return this errror:

msOGRLayerInitItemInfo(): OGR error: Invalid field name GEOMETRY.

Perhaps I miss to understanding the mean of area() function ?

Any info is welcome.
Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the mapserver-users mailing list