Bogue
Numéro d’ID de bogue | BUG-000106416 |
---|---|
Envoi | July 7, 2017 |
Dernière modification | November 16, 2022 |
S’applique à | ArcGIS CityEngine |
Version trouvée | 2017.0 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 7.0 64 Bit |
Statut | Under Consideration |
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.
ID de bogue: BUG-000106416
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support