Hi, Thx very much. It work perfectly !
2013/1/8 Lime, Steve D (DNR) <steve.l...@state.mn.us>: > Hi Andrea: In expressions the tag [shape] should be used to reference the > current geometry. Many of the drivers don't define a geometry name column > (e.g. native shapefiles) so we needed a consistent way to refer to it... So > try: > > EXPRESSION ( (area([shape]) > 10000000) ) > > Steve > > -----Original Message----- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andrea Peri > Sent: Tuesday, January 08, 2013 3:56 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] how use the expression function "area" > > 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 àèìòù > ----------------- > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users