操作方法
对于 ArcGIS Pro 3.1 及更早版本的客户端,具有 Date 字段类型或 Oracle NUMBER(38) 的表将注册为 Date 字段类型和 Long 字段类型。
从 ArcGIS Pro 3.2 及更新版本的客户端开始,对于未注册的表,Date 字段类型默认将读取为“高精度日期”。 此更改使底层数据库中一直以高精度存储的日期,现在得以被正确读取并显示于客户端。 同样,对于 Oracle 未注册的表,Number(38) 将默认读取为“大整数”,因为 Number(38) 可以存储 64 位整数值。
从 ArcGIS Pro 3.2 或更新版本的客户端向地理数据库注册表时,默认使用以下数据类型映射:
Note:
Once registered with the High Precision Date and Big Integer field types, these tables will not be compatible with older clients. ArcGIS Pro 3.1 and earlier clients will receive an error “This version of the Geodatabase client is incompatible with the dataset and cannot open it”, when accessing geodatabase tables or feature classes that contain fields of the following data types: Date only, Time only, Timestamp offset, Big integer, or 64-bit object IDs.
为确保 ArcGIS Pro 3.1 及更早版本的客户端可以访问具有 Date 或 Number(38) 字段类型的已注册表,可使用以下选项:
HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro\Geodatabase\Settings\FieldTypeCompatibility
设置 FieldTypeCompatibility=1,允许将 Date 和 Number(38) 字段类型分别注册为 Date 和 Long 类型。 生成的已注册表可供早期的 ArcGIS Pro 客户端访问。
当工具成功运行时,将显示一条警告消息,其中包含以下文本,以提醒用户注册表项已启用:
“The tool output will use supported data types for ArcGIS Pro 3.1 and earlier releases. Disable the registry key for the tool output to use supported data types for the current ArcGIS Pro release: HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro\Geodatabase\Settings\FieldTypeCompatibility”
文章 ID: 000032250
获取来自 ArcGIS 专家的帮助
立即开始聊天