阅读:1924回复:2
pShpFt = pShpCursor.NextFeature出错
<P>本人在用Engine做批量导入shp文件,一般shp文件导入都没有问题,就某个shp文件非常奇怪,每次都在“pShpFt = pShpCursor.NextFeature”处出错,出错提示是:“The input interface was not attached to a geometry object”。</P>
<P>查了帮助,没有相关的信息。苦恼中,请各位高手指点迷津,不胜感激!</P> |
|
1楼#
发布于:2007-06-05 19:51
<P>你可能是有长度(length)为0的记录存在你的属性表里,想办法把那些记录清除掉,应该就可以了</P>
|
|
|
2楼#
发布于:2007-06-05 19:51
你也利用
<H1>Repair Geometry (Data Management)</H1> <P>工具来清理你的shp文件,这个你在帮助你查找,有详细使用帮助</P> |
|
|