[Gdal-dev] Limit columns returned in OGR?

Craig Miller craig.miller at spatialminds.com
Wed Jun 28 15:37:53 EDT 2006


Is there a way to limit the columns that are returned with a layer other
than using OGRDataSource::ExecuteSQL(...)?

E.g. 
OGRDatasource::GetLayer() allows me to set the SQL FROM clause to a single
table.
OGRLayer::SetAttributeFilter allows me to set the SQL WHERE clause.
I don't see it, but I thought I'd ask before I code something using
ExecuteSQL()... Is it possible to set the SQL SELECT clause?

Thanks,
Craig






More information about the Gdal-dev mailing list