Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Yinchao YinChaoOnline

🎯
Focusing
Block or report user

Report or block YinChaoOnline

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@YinChaoOnline
YinChaoOnline / MainForm.cs
Last active May 5, 2017
查询亚洲范围内人口等级(POP_RANK)为5的所有城市(针对示例数据World.mxd)
View MainForm.cs
//省略若干其他代码
private void menuSpatialIntersect_Click(object sender, EventArgs e)
{
//get the continent layer
IFeatureLayer continentLayer = GetLayerByName("Continents", axMapControl1.Map) as IFeatureLayer;
//query the continents layer where its name equals 'asia'
//get the feature's geometry matching the above condition
IQueryFilter queryFilter = new QueryFilterClass();
You can’t perform that action at this time.