PYTHON FOR GEOPACKAGES
For Geographic Information System (GIS) professionals and developers, creating Feature Classes with complete geometry and attributes is an essential and frequent part of every user's workflows. Many professionals in the industry rely on Open Source software like QGIS to accomplish this while others utilize Esri's ArcGIS platform for spatial data visualization and analysis. Those who utilize both systems may find it difficult to create data that seamlessly moves between these solutions - until now.
OGC GeoPackages facilitate the creation and population of spatial databases to be used with Geographic Information System (GIS) software. Open Source development libraries like pygeopkg aide programmers in creating databases and Feature Classes, attributing geometry and appropriate records to each, with dependable and easy-to-use Python-compatible code.
WHAT IS PYGEOPKG?
pygeopkg is a Python compatible library that allows for the creation and population of write-to OGC GeoPackage databases, including creating features within this resource. It is intended to be used to:
Create a new empty GeoPackage from scratch.
Create new Feature Classes within a GeoPackage.
Populate Feature Classes with geometry and attributes.
WHAT IS A GEOPACKAGE?
GeoPackage, or OGC GeoPackage, is an Open Source specification for storing spatial datasets in sqlite, a lightweight Open Source database. GeoPackages can be opened and viewed in software solutions built for viewing and analyzing spatial data, including ArcGIS and QGIS. For more details on OGC GeoPackages, please see the OGC webpage.
HOW DO YOU ACCESS THIS LIBRARY?
The pygeopkg library can be found on GitHub. Available from Integrated's realiii profile, this Python-compatible library was created to work as a packaged sub-repository in a larger Python library. As such, users should simply add this repository as a sub-repository via git to their main repository or download the files and add them to their projects as seen fit.
HOW DO I REQUEST SUPPORT FOR PYGEOPKG?
If support is needed for this repository, it is recommended to contact with the email listed on Integrated's realiii profile on GitHub or message our Development Team directly through our Support form.
WHAT IS THE BENEFIT OF THIS LIBRARY?
When developing pygeopkg, our goal was to create a fast yet useful pure Python solution for creating features in an OGC GeoPackage. Our team has found that writing features with this library is at least three times faster than writing features to a File Geodatabase with Esri's ArcPy. By supplementing your development workflow with pygeopkg, teams can realize similar performance gains with the use of GeoPackages and this Open Source resource.