Error: 打开要素类错误.几何形状数量与表的纪录数不匹配.

文章编号 : 26840
软件: ArcGIS - ArcEditor 9.0, 9.1, 9.2, 9.3, 9.3.1, 10 ArcGIS - ArcInfo 9.0, 9.1, 9.2, 9.3, 9.3.1, 10 ArcGIS - ArcView 9.0, 9.1, 9.2, 9.3, 9.3.1, 10
操作系统: N/A
已邀请:

EsriSupport

赞同来自:

错误信息: 在ArcMap or ArcCatalog显示shapefile数据时返回错误:
“打开要素类错误.几何形状数量与表的纪录数不匹配。”

原因: 要素的数量与DBF文件表的纪录数不匹配。这是由于在Microsoft Excel下编辑shapefile DBF文件。
这也可能是在Arcmap下正在编辑的Shapefile文件受损了。


解决方法: 下面所列的选择项也许可以修补这个问题。

声明ESRI不支持第三方脚本和扩展。强烈建议使用修补之前备份数据。


  1. 使用ArcScripts 实用工具‘Shapefile Repairer’修补这种要素与纪录数的不匹配。以下是提供相关信息选择的链接。
  2. 使用工作人员Jerry提供的‘Shapefile Repair Tool’工具,以下是提供的相关链接。

这个选择需要ArcInfo的使用许可,并安装了Workstation.

利用Workstation ArcInfo把shapefile转成coverage数据并通过以下系列命令返回一个新的Shapefile.,例如:


Arc: precision double double Arc: usage shapearc sage: SHAPEARC <in_shape_file> <out_cover> {out_subclass} {DEFAULT | DEFINE} Arc: shapearc sample.shp tempcov <subclass for line or polygon shapefile> Arc: build tempcov <point, line, poly> Arc: usage arcshape Usage: ARCSHAPE <in_cover> <in_feature_class> <out_shape_file> {DEFAULT | DEFINE} Arc: arcshape tempcov <point, line, poly> newshape.shp
相关链接:

  1. Shapefile Repairer
  2. Shapefile Repair Tool
  3. Number of shapes does not match number of table records



创建时间:2004-05-26
最近更新: 2011-10-26


原文链接
http://support.esrichina.com.c ... .html

要回复问题请先登录注册