复合条件查询

IQueryFilter pQf = new QueryFilterClass();
string squery = string.Format("RowID_={0} AND ColumnID={1}", i, j);
pQf.WhereClause = squery;
IFeatureCursor pFtCursor = fengeFtCls.Search(pQf, false);
IFeature pFeature = pFtCursor.NextFeature();
int emtID = (int)pFeature.get_Value(pFeature.Fields.FindField("element_id"));

 

Shapefile的复合条件查询示例

 

 

 

posted @ 2014-03-05 11:29  DayDreamInGIS  阅读(505)  评论(0编辑  收藏  举报