Some complex polygon features are not exported to KML correctly.
最後に公開された状態: August 25, 2014ArcGIS for Desktop
不具合 ID 番号
NIM065190
送信されました
February 16, 2011
最終更新日
June 5, 2024
適用対象
ArcGIS for Desktop
見つかったバージョン
10.0
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
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