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.
  • 相关阅读:
    复盘:错误理解zuul路径匹配,无法使用zuul
    oracle 查询含clob 字段慢
    Javascript生成二维码(QR)
    那些可以在数据库里做的事:分页与过滤
    小谈Scrum敏捷开发流程
    45个实用的JavaScript技巧、窍门和最佳实践
    编写更好的jQuery代码的建议
    冷门JS技巧
    jQuery编程的最佳实践
    chrome扩展安装图文教程
  • 原文地址:https://www.cnblogs.com/Smart_Joe/p/2657383.html
Copyright © 2011-2022 走看看