laptop and a wrench

漏洞

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

上次发布: August 2, 2017 ArcGIS CityEngine
漏洞 ID 编号 BUG-000106416
已提交July 7, 2017
上次修改时间November 16, 2022
适用范围ArcGIS CityEngine
找到的版本2017.0
操作系统Windows OS
操作系统版本7.0 64 Bit
状态Under Consideration

附加信息

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.

解决办法

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: BUG-000106416

软件:

  • ArcGIS CityEngine

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项