The Geocom Python Framework or gpf
provides a set of Python modules that contain tools, helpers, loggers etc. for a more pleasant Python scripting experience with ArcGIS Pro.
GIS users who need to write geoprocessing scripts with arcpy
might benefit from importing the gpf
module into their script as well.
The gpf
module in this repository has been developed for Python 3.6+ (ArcGIS Pro, Server).
However, it is also available for Python 2.7.14+ (ArcGIS Desktop/Server) on GitHub and PyPI.
Geocom customers who need to write GEONIS menu or form scripts should be aware of the gntools module. However, this module is not available for ArcGIS Pro, as it is Python 2.7 only.
- ArcGIS Pro 2.3 or higher
- Python 3.6 or higher (along with the
arcpy
module)
The easiest way to install the Geocom Python Framework, is to use the built-in package manager in ArcGIS Pro.
Navigate to Options > Python and select the environment in which you wish to install the gpf
package.
Alternatively, you can use pip, a Python package manager.
When pip
is installed, the user can simply run:
python -m pip install gpf3
Note
Although the PyPI package is called gpf3
, the name of the import package is gpf
.
This means, that you can import it into your own modules using import gpf
.
The complete gpf
API reference can be found here.
Apache License 2.0 © 2019 Geocom Informatik AG / VertiGIS & contributors