arcgis数据类型

对于所遇到的所有与数据类型有关的问题可以参考arcgis的官方帮助文档:

http://resources.arcgis.com/zh-cn/help/main/10.1/index.html#//003n0000001m000000

shp数据:


sde数据:



一些有意思的现象:http://forums.esri.com/thread.asp?c=93&f=982&t=75881&m=201782

"Precision is the number of digits in a number." 
"Scale is the number of digits to the right of the decimal point in a number" 
Precision of 10 should store numbers with max 10 digits:1234567890 
Precision of 10 and Scale of 5 should store 
12345.12345 
The interesting fact is that these rules behave differently on shapefiles(dbf) and Geodatabases and some times the results are strange. 
For example: 
- a field defined as Long with precision of 10 on GDB will not accept a value of 12345678901 (correct), on a shapefile(dbf) it will be calculated to 1230000000. 
- field defined as Double with precision of 10 and scale of 5 will convert 123456.12345 to 123500 on a dbf file and will be accepted if the table is in a GDB. In fact the same field in a GDB will accept 1234567890.12345 !!! 

Another interesting fact is that a field defined in ArcCatalog as Double with Precision of 10 and Scale of 5 will be reported in ArcMap as follows: 
- if the table is DBF - correctly 
- if the table is in a personal GDB - precision of 0 and scale of 0 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值