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.
  • 相关阅读:
    sprint2第五天任务完成情况
    sprint2第四天任务完成情况
    sprint2第三天任务完成情况
    spark编程基础1
    git基本命令
    自定义bean对象实现序列化接口(Writable)
    HDFS 2.X新特性
    win10-idea连接hdfs集群
    centos6-yum源失效问题
    hadoop-源码编译
  • 原文地址:https://www.cnblogs.com/lianghong/p/8005575.html
Copyright © 2011-2022 走看看