It is likely a computed column that does not exist in the file as ogrinfo is indicating. In some other program it is computing the AREA on fly and presenting is as a virtual column but mapserver does not do that for you.

Ask on the GDAL/OGR list how to add a column and populate it with the shape AREA.

-Steve W

On 3/29/2012 1:45 PM, Marc-André D. wrote:
It seems that my column 'AREA' is a calculated one....but how could I
interrogated that column??? I think the column 'AREA' refer to an other
shapefile....but how could I create an expression that will interrogate
another shapefile????



INFO: Open of `centroide_pts.shp'
       using driver `ESRI Shapefile' successful.

Layer name: centroide_pts
Geometry: Point
Feature Count: 3763
Extent: (192120.737200, 4986442.910500) - (212410.721754, 5003132.634000)
Layer SRS WKT:
PROJCS["NAD_1983_MTM_7",
     GEOGCS["GCS_North_American_1983",
         DATUM["North_American_Datum_1983",
             SPHEROID["GRS_1980",6378137.0,298.257222101]],
         PRIMEM["Greenwich",0.0],
         UNIT["Degree",0.0174532925199433]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["False_Easting",304800.0],
     PARAMETER["False_Northing",0.0],
     PARAMETER["Central_Meridian",-70.5],
     PARAMETER["Scale_Factor",0.9999],
     PARAMETER["Latitude_Of_Origin",0.0],
     UNIT["Meter",1.0]]
ID: Real (11.0)
NO_LOT: String (30.0)
ECHELLE: String (15.0)
SOURCE: String (50.0)
ANGLELOT: Real (10.2)
ANGLE_MANU: String (1.0)
VERIF: String (10.0)
PROB_SUP: String (10.0)
PROB_NOLOT: String (10.0)
LEGVERIF: String (10.0)
MA_NAD27: String (16.0)
SUP: String (16.0)
ANGLE: Real (16.4)
IDENT: String (100.0)
SUPERFICIE: String (50.0)
X_COORD: Real (18.5)
Y_COORD: Real (18.5)
MATRICULE: String (16.0)
MA_NAD83: String (16.0)
CENTROIDE: String (4.0)
DATE: Date (10.0)
FEUILLET: String (50.0)
C1_NAD83: String (4.0)
C2_NAD83: String (7.0)
POSITION: String (30.0)
TAILLE: Real (7.2)
MAT_83: String (15.0)
X_COORD: Real (18.5)
Y_COORD: Real (18.5)


-----
-----------------------------
Marc-André Dion
B.Sc Géomatique appliquée
Université de Sherbrooke
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Problem-with-Class-Expression-tp4668046p4668585.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to