d*****e 发帖数: 270 | 1 这是我的代码,但是结果是把pOutFClass所有的pologon都转成GRID了,怎么搞?
我只想要我选择的,在SelectionSet里面polygon。
‘从FeatureClass中得到SelectionSet
Set pSelectionSet = pOutFClass.Select(pSpatialFilter,
esriSelectionTypeHybrid, esriSelectionOptionNormal, pWS)
Dim pFCDescriptor As IFeatureClassDescriptor
Set pFCDescriptor = New FeatureClassDescriptor
pFCDescriptor.CreateFromSelectionSet pSelectionSet, Nothing, "GRIDCODE
"
Dim pFCExtract As IFeatureClass
Set p | a*******r 发帖数: 7558 | 2 你们年轻人真是勇攀科技高峰啊
【在 d*****e 的大作中提到】 : 这是我的代码,但是结果是把pOutFClass所有的pologon都转成GRID了,怎么搞? : 我只想要我选择的,在SelectionSet里面polygon。 : ‘从FeatureClass中得到SelectionSet : Set pSelectionSet = pOutFClass.Select(pSpatialFilter, : esriSelectionTypeHybrid, esriSelectionOptionNormal, pWS) : : : Dim pFCDescriptor As IFeatureClassDescriptor : Set pFCDescriptor = New FeatureClassDescriptor :
|
|