• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
bobird的学习笔记
博客园    首页    新随笔    联系   管理    订阅  订阅
OID 需要转换为ObjectID的四种情况

The logic used to determine if the OID field should be renamed to "ObjectID" can be classified with 4 cases.

Case1: Both the InputWorkspace and ValidateWorkspace are provided.

  • The OID field is renamed to "ObjectID" if the InputWorkspace is of type esriFileSystemWorkspace and the ValidateWorkspace is a Geodatabase workspace (type esriLocalDatabaseWorkspace or esriRemoteDatabaseWorkspace).

Case2: Only the InputWorkspace is provided (the ValidateWorkspace has not been provided).

  • The OID field is renamed to "ObjectID" if the InputWorkspace is of type esriFileSystemWorkspace.

Case3: Only the ValidateWorkspace is provided (the InputWorkspace has not been provided).

  • The OID field is renamed to "ObjectID" if the ValidateWorkspace is a Geodatabase workspace.

Case4: Neither of the workspaces is provided

  • The OID field is not renamed to "ObjectID"
posted on 2013-07-18 10:42  bobird  阅读(281)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3