laptop and a wrench

Bogue

Errors exporting OpenStreetMap (OSM) Get map data to a file geodatabase in ArcGIS CityEngine.

Dernière publication: August 2, 2017 ArcGIS CityEngine
Numéro d’ID de bogue BUG-000106416
EnvoiJuly 7, 2017
Dernière modificationNovember 16, 2022
S’applique àArcGIS CityEngine
Version trouvée2017.0
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
StatutUnder Consideration

Informations supplémentaires

A file geodatabase requires an object attribute to be of a specific type (float, string, bool). In ArcGIS CityEngine, this is not enforced for object attributes. The same applies to OpenStreetMap (OSM) attributes.

Solution de contournement

Use this python function to find attribute type mismatches: def findAttributeTypeMismatch(shapes): sceneAttributeList = [] sceneAttributeTypeList = [] badAttributes = [] badAttributeTypes = [] for shape in shapes: shapeAttributeList = ce.getAttributeList(shape) for attributeName in shapeAttributeList: attributeType = type(ce.getAttribute(shape, attributeName)) if attributeName not in sceneAttributeList: sceneAttributeList.append(attributeName) sceneAttributeTypeList.append(attributeType) else: expectedType = sceneAttributeTypeList[sceneAttributeList.index(attributeName)] if attributeType != expectedType: if attributeName not in badAttributes: badAttributes.append(attributeName) badAttributeTypes.append([expectedType,attributeType]) print badAttributeTypes return badAttributes.

Étapes pour reproduire

ID de bogue: BUG-000106416

Logiciel:

  • ArcGIS CityEngine

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement