fix: arcpy scripts 添加 encoding 声明 (#2)
根据 Mercator 用户交流平台话题 #2 的要求: - arcpy_convert.py: 添加 # -*- coding: utf-8 -*- - arcpy_overlay.py: 添加 # -*- coding: utf-8 -*- - workflow.yaml: version 1.0.3 → 1.0.4 原因:arcpy 运行在 Python 2.7 环境,默认 ASCII 编码, 含中文注释/字符串的脚本需要显式声明 UTF-8 编码。
This commit is contained in:
@@ -40,7 +40,7 @@ description: |
|
||||
- Step 1、2 依赖系统 **ArcGIS 10.x**(arcpy,Python 2.7 环境)
|
||||
- Step 3 使用系统本机 **Python 3** 运行时(需安装 openpyxl)
|
||||
- 建议安装顺序:ArcGIS → Python 3 → `pip install openpyxl`
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
author: Robert
|
||||
platform: windows
|
||||
slug: test-yunnan-overlay-windows
|
||||
|
||||
Reference in New Issue
Block a user