id summary reporter owner description type status priority milestone component version severity resolution keywords cc 2949 Add OGR_GEOM_AREA special field Daniel Morissette Daniel Morissette "I'd like to use a OGR SQL statement to filter features from a shapefile based on their area. e.g. keep only the large lakes in a water layer for instance. A simple way to allow this would be to add a new OGR_GEOM_AREA special field on OGRFeatures that calls the OGRSurface::getArea() method and would be handled similar to the OGR_GEOM_WKT and other special fields in OGRFeature::GetFieldAsString(). Another option could be to add operators on geometries in the SQL parser but that could be a bit more involved (e.g. ""select ST_Area(geom) from ..."")." defect closed normal 1.7.0 OGR_SF unspecified normal fixed warmerdam Even Rouault