zoukankan      html  css  js  c++  java
  • 【转】ArcGIS Field Type Joe

    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 IntegeresriFieldTypeSmallIntegervbIntegerNumber (Integer)smallintNUMBER
    Long IntegeresriFieldTypeIntegervbLongNumber (Long Integer)intNUMBER
    FloatesriFieldTypeSinglevbSingleNumber (Single)floatNUMBER
    DoubleesriFieldTypeDoublevbDoubleNumber (Double)floatNUMBER
    TextesriFieldTypeStringvbStringTextvarcharVARCHAR2
    DateesriFieldTypeDatevbDateDate/TimedatetimeDATE
    Object IDesriFieldTypeOIDvbLongAutoNumber (Long Integer)intNUMBER(38)
    GeometryesriFieldTypeGeometryvbDataObjectOLE ObjectintNUMBER(38) or SDO_GEOMETRY
    BlobesriFieldTypeBlobvbObjectOLE ObjectimageNUMBER(38) or SDO_GEOMETRY
    RasteresriFieldTypeRastervbDataObjectNumber (Long Integer)intNUMBER
    GUIDesriFieldTypeGUIDvbStringNumber (Replication ID)uniqueidentifierCHAR
    GlobalIDesriFieldTypeGlobalIDvbStringNumber (Replication ID)uniqueidentifierCHAR

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

    Item typeItem widthGeodatabase field type (esriFieldType)
    B4esriFieldTypeInteger
    C1-320esriFieldTypeString
    D8esriFieldTypeDate
    F4esriFieldTypeSingle
    F8esriFieldTypeDouble
    I1-4esriFieldTypeSmallInteger
    I5-9esriFieldTypeInteger
    I10-16esriFieldTypeDouble
    N1-9esriFieldTypeSingle
    N10-16esriFieldTypeDouble

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

    Field typeField widthGeodatabase field type (esriFieldType)
    Date-esriFieldTypeDate
    String1-255esriFieldTypeString
    Boolean-esriFieldTypeString
    Number1-16 (decimals = 0)esriFieldTypeInteger
    Number1-16 (decimals > 0)esriFieldTypeDouble
    Note: Shapefiles only support date fields. Time is not supported. Geodatabases support date\time fields. If a shapefiles date field is queried for the time a default value of "12:00:00 AM" will be returned.
  • 相关阅读:
    WMS、WCS、PLC、AGV
    SAP消息号修改汇总
    SQL 计算累计和 sum() over( partition by order by )
    DDLS报错数据类型冲突:data type conflict in a selection 解决办法
    SAP销售订单需求类型的确定优先级
    SAP替代,出口U904在RGGBS000中未生成
    订单BOM与销售BOM的区别
    在配置和销售凭证 GET_CONFIG_MODE 间通信时内部出错
    ABAP Write
    php的api接口
  • 原文地址:https://www.cnblogs.com/Smart_Joe/p/2657383.html
Copyright © 2011-2022 走看看