zoukankan      html  css  js  c++  java
  • ArcGIS Field Type /esriFieldTypeDate(转)

    ArcGIS Field Type

     

    The following table outlines the equivalent field data types in ArcCatalog, ArcObjects, Visual Basic and a selection of DBMSs:

    ArcCatalog

    esriFieldType

    (IField::Type)

    VB Variable Type

    (IField::VarType)

    AccessSQL ServerOracle
    Short Integer esriFieldTypeSmallInteger vbInteger Number (Integer) smallint NUMBER
    Long Integer esriFieldTypeInteger vbLong Number (Long Integer) int NUMBER
    Float esriFieldTypeSingle vbSingle Number (Single) float NUMBER
    Double esriFieldTypeDouble vbDouble Number (Double) float NUMBER
    Text esriFieldTypeString vbString Text varchar VARCHAR2
    Date esriFieldTypeDate vbDate Date/Time datetime DATE
    Object ID esriFieldTypeOID vbLong AutoNumber (Long Integer) int NUMBER(38)
    Geometry esriFieldTypeGeometry vbDataObject OLE Object int NUMBER(38) or SDO_GEOMETRY
    Blob esriFieldTypeBlob vbObject OLE Object image NUMBER(38) or SDO_GEOMETRY
    Raster esriFieldTypeRaster vbDataObject Number (Long Integer) int NUMBER
    GUID esriFieldTypeGUID vbString Number (Replication ID) uniqueidentifier CHAR
    GlobalID esriFieldTypeGlobalID vbString Number (Replication ID) uniqueidentifier CHAR

    The following table outlines the Coverage, INFO Item to Geodatabase field mapping:

    Item typeItem widthGeodatabase field type (esriFieldType)
    B 4 esriFieldTypeInteger
    C 1-320 esriFieldTypeString
    D 8 esriFieldTypeDate
    F 4 esriFieldTypeSingle
    F 8 esriFieldTypeDouble
    I 1-4 esriFieldTypeSmallInteger
    I 5-9 esriFieldTypeInteger
    I 10-16 esriFieldTypeDouble
    N 1-9 esriFieldTypeSingle
    N 10-16 esriFieldTypeDouble

    The following table outlines the Shapefile, dBASE field to Geodatabase field mapping:

    Field typeField widthGeodatabase field type (esriFieldType)
    Date - esriFieldTypeDate
    String 1-255 esriFieldTypeString
    Boolean - esriFieldTypeString
    Number 1-16 (decimals = 0) esriFieldTypeInteger
    Number 1-16 (decimals > 0) esriFieldTypeDouble
    Note: Shapefiles only support date fields. Time is not supported. Geodatabases support date ime fields. If a shapefiles date field is queried for the time a default value of "12:00:00 AM" will be returned.
  • 相关阅读:
    git push要输入密码问题
    excel换行
    React的diff算法
    https的通信过程
    一道面试题的分析
    Mac将应用拖入Finder工具栏
    React获取组件实例
    Warning: Received `false` for a non-boolean attribute `xxx`.
    warning: React does not recognize the xxx prop on a DOM element
    webpack开发模式和生产模式设置及不同环境脚本执行
  • 原文地址:https://www.cnblogs.com/lianghong/p/8005575.html
Copyright © 2011-2022 走看看