python 利用 ogr 写入shp文件,数据格式

python 利用 ogr 写入 shp 文件, 定义shp文件中的属性字段(field)的数据格式为:

OFTInteger       # 整型
OFTIntegerList     # 整型list
OFTReal         # 双精度
OFTRealList       # 双精度list
OFTString        # 字符
OFTStringList      # 字符list
OFTWideString      # 长字符
OFTWideStringList   # 长字符list
OFTBinary        
OFTDate 
OFTTime 
OFTDateTime 
OFTInteger64 
OFTInteger64List 
OFSTNone 
OFSTBoolean 
OFSTInt16 
OFSTFloat32 
OJUndefined 

  

posted @ 2017-01-16 16:03  Monica_Pan  阅读(2897)  评论(0编辑  收藏  举报