gis python 桌面,arc-utils-用于Esri ArcGIS桌面软件的Python实用程序-Grant Herbert
作者:Grant Herbert
### 作者郵箱:gdherbert@gmail.com
### 首頁:https://github.com/gdherbert/arc_utils
### 文檔:None
### 下載鏈接 https://github.com/gdherbert/arc_utils/tree/0.6.8
# README #
What is this repository for?
A collection of (mostly) arcpy related utilities for use within ArcGIS (ArcCatalog/ArcMap) and Python 2.7. Going forward, this repo will be compatible with ArcGIS Pro (Python 3) as well where possible.
How do I get set up?
To install the utilities:
pip install arc_utils
Clone the repo to your machine and add the path to the python install https://docs.python.org/2/tutorial/modules.html#the-module-search-path
Optionally, you can copy the folder to the site-packages in the ESRI python install directory, or add a .pth file to the site-packages folder pointing to the clone directory.
To use the utilities: * in the python window in ArcMap/ArcCatalog/Pro python import arc_utils as au * typing au. will now reveal the modules and functions available to you if you have autocomplete on * Depends on arcpy (only available with Esri license) * NOTE: arcpy changes for ArcGIS Pro (Python 3.x) include a name change: arcpy.mapping = arcpy.mp as well as some function changes
Example usage
import arc_utils as au
tbl = au.table.TableObj(path to featureclass)
# list all fields
print(tbl.fields)
Contribution guidelines
Contributions welcomed, this is a starting point for various utilities that I think could be useful within Arc.
Copy from pypi.org
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的gis python 桌面,arc-utils-用于Esri ArcGIS桌面软件的Python实用程序-Grant Herbert的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: git日志 每天导出 shell脚本
- 下一篇: HT68F30控制GPG96244QS1