laptop and a wrench

Bug

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

Last Published: August 2, 2017 ArcGIS CityEngine
Bug ID Number BUG-000106416
SubmittedJuly 7, 2017
Last ModifiedNovember 16, 2022
Applies toArcGIS CityEngine
Version found2017.0
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusUnder Consideration

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000106416

Software:

  • ArcGIS CityEngine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options