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.
  • 相关阅读:
    python
    python
    日常使用 小技巧 ~ (长期更新)
    日常的 小 bug ~(长期更新)
    BUUCTF Re部分wp(MIPS特别篇)
    [FlareOn5]FLEGGO
    [FlareOn6]BMPHIDE
    配置搭建单机rocketmq及rocketmq集群
    nessus服务安装与使用
    HTTP缓存技术详解
  • 原文地址:https://www.cnblogs.com/Smart_Joe/p/2657383.html
Copyright © 2011-2022 走看看