Introduction
Given a vector file, add attribute values to each vector unit of the file for further analysis. Please see Fig. 1 for the attribute table before and after. In the original attribute table, some field names are displayed abnormally due to encoding issues, so please use English characters for relevant characters.(已知一个矢量文件,为该文件的每一矢量单元增加属性数值,用于进一步分析。属性表前后请见Fig. 1。其中,原属性表某字段名称前后因编码问题而显示异常,因而涉及字符请使用英文字符。)
Fig. 1
Note
代码配置情况如下,每次运行前注意核对:
1.确认DBF文件标签列,对应index_col_locate;
2.默认数值型属性长度20位,小数点后6位,可调整,空格填充0;
3.默认字符型属性长度14位,以应用英文字符为宜,长度可调整,空格填充*;
4.一次匹配一个矢量文件,输出在Output目录。
References
[1] makedbfspec.
No comments:
Post a Comment