laptop and a wrench

Erro

Some complex polygon features are not exported to KML correctly.

Última Publicação: August 25, 2014 ArcGIS for Desktop
Número de ID do Erro NIM065190
EnviadoFebruary 16, 2011
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
StatusKnown Limit

Informações Adicionais

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

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: NIM065190

Software:

  • ArcGIS for Desktop

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download