Bug: 如果在ArcSDE DB2创建的FeatureClass包含非英文字符,将无法加载数据
文章编号 : 28644
软件: ArcGIS - ArcInfo 9.0, 9.1, 9.2, 9.3 ArcSDE 9.0, 9.1, 9.2, 9.3, 9.3.1
操作系统: Linux Red Hat AS/ES 3.0 Windows 2000 AIX 5.2 Solaris 9 HP-UX 11.11
软件: ArcGIS - ArcInfo 9.0, 9.1, 9.2, 9.3 ArcSDE 9.0, 9.1, 9.2, 9.3, 9.3.1
操作系统: Linux Red Hat AS/ES 3.0 Windows 2000 AIX 5.2 Solaris 9 HP-UX 11.11
1 个回复
易智瑞技术支持
赞同来自:
使用SDE 数据加载命令或者ArcCatalog的时候加载数据的数据的时候,会出现错误:
1) 如果FeatureClass的名字包括非英文字符如 "ñ" 或者 "é",会发生错误
2) 当FeatureClass的名字都是英文字符的时候,不会发生错误
例子:
example -
shp2sde -o create -l strñét,shape -f strñét.shp -D sde -u map -p map -s peanuts -i 5920
Shape to Layer Loading Administration Utility
-----------------------------------------------------
Set X_offset = 42409
Set Y_offset = 59594
Set XY_scale = 50000000
Set Grid Size0 = 1
SDE Code (-51): Underlying DBMS error
Extended DBMS error code: 0
Underlying DBMS error
Unable to set layer to NORMAL-IO mode.
1 features converted.
1 features stored.
原因: 可能是数据加载后或者切换到normal_io模式之前运行RUNSTATS后的DB2 API导致的。 返回的错误值为SQL2306表示表不存在,表示某些字符语言不识别。
解决方法: 将dbtune.sde文件中的B_RUNSTATS改为NO后,使用sdedbtune -o import命令导入到数据库中。用户需要手动使用SQL来手动的统计信息。
创建时间:2005-02-14
最近更新: 2011-05-03
【原文链接】
http://support.esrichina.com.c ... .html
要回复问题请先登录或注册