laptop and a wrench

不具合

Some complex polygon features are not exported to KML correctly.

最後に公開された状態: August 25, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM065190
送信されましたFebruary 16, 2011
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.0
ステータスKnown Limit

参考情報

Some KML clients cannot draw features with more than 30k vertices

対処法

Run the following script from the python window to determine if you have any polygons where a single feature has more than 30,000 vertices. You can then generalize or split the polygon.Note - ArcGIS Explorer does not have any issues with drawing KML that has a large number of vertices. The issue is specific to certain clients and their inability to draw more than 30k features.import arcpy, osoverLimit = []mxd = arcpy.mapping.MapDocument("current")df = arcpy.mapping.ListDataFrames(mxd)[0]for lyr in arcpy.mapping.ListLayers(mxd, '', df): inFeats = lyr.dataSource if arcpy.Describe(inFeats).shapeType == "Polygon": print lyr.name desc = arcpy.Describe(inFeats) rows = arcpy.SearchCursor(inFeats) shapeName = desc.ShapeFieldName for row in rows: feat = row.getValue(shapeName) if feat.pointCount > 30000: overLimit.append((lyr.name, row.getValue(desc.OIDFieldName), feat.pointCount)) del rows del shapeName del inFeats print "==================="if len(overLimit) == 0: print "Nothing over 30k"else: print overLimit

再現の手順

不具合 ID: NIM065190

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動