BSD Ports

graphics/py-pyogrio 0.13.0 MidnightBSD

Vectorized spatial vector file format I/O using GDAL/OGR

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
5d0ade969b
License
mit
Categories
graphics, python

Description

Pyogrio provides fast, bulk-oriented read and write access to GDAL/OGR vector data sources, such as ESRI Shapefile, GeoPackage, GeoJSON, and several others. Vector data sources typically have geometries, such as points, lines, or polygons, and associated records with potentially many columns worth of data.

The typical use is to read or write these data sources to/from GeoPandas GeoDataFrames. Because the geometry column is optional, reading or writing only non-spatial data is also possible. Hence, GeoPackage attribute tables, DBF files, or CSV files are also supported.

Pyogrio is fast because it uses pre-compiled bindings for GDAL/OGR to read and write the data records in bulk. This approach avoids multiple steps of converting to and from Python data types within Python, so performance becomes primarily limited by the underlying I/O speed of data source drivers in GDAL/OGR.

We have seen >5-10x speedups reading files and >5-20x speedups writing files compared to using row-per-row approaches (e.g. Fiona).

In the other systems

The newest version among them is 0.13.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDgraphics/py-pyogrio0.13.0 newestno data-[email protected]2026-11-21
FreeBSDgraphics/py-pyogrio0.13.0 newestnone known-[email protected]2026-07-08
DragonFlygraphics/py-pyogrio0.13.0 newestnone known-[email protected]-
HardenedBSDgraphics/py-pyogrio0.13.0 newestno data-[email protected]-
GhostBSDgraphics/py-pyogrio0.13.0 newestno data-[email protected]-

Version history 1

  1. 0.13.0 5d0ade969b

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pyogrio

From mports:

cd /usr/mports/graphics/py-pyogrio && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyogrio>0:graphics/py-pyogrio

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 3

Library 1

Runtime 3

Build dependencies 4
Run dependencies 4
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyogrio-0.13.0.tar.gz3131039614f27a1891113f80653e0b76b4233ea1fb3beeb1ac46d118ab22e1670f8f13
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
5d0ade969b Lucas Holt graphics/py-pyogrio: add version 0.13.0
Signed-off-by: Lucas Holt <[email protected]> AI-Assisted-by: Codex