BSD Ports

graphics/py-pyogrio 0.13.0 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
57c560b5c6
License
MIT
Categories
graphics, python
Package size
589.7 KiB, 2730.5 KiB installed

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).

Install

Binary package:

pkg install py312-pyogrio

From the ports tree:

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

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

RUN_DEPENDS=	py312-pyogrio>0:graphics/py-pyogrio

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.13.00.13.0--0.13.0
FreeBSD:14:quarterly0.13.00.13.0n/a-0.13.0
FreeBSD:15:latest0.13.00.13.0n/a--
FreeBSD:15:quarterly0.13.00.13.0n/an/an/a
FreeBSD:16:latest0.13.00.13.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Library 1

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 87
Run dependencies 83

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
57c560b5c6 Po-Chuan Hsieh graphics/py-pyogrio: Update to 0.13.0
Changes: https://github.com/geopandas/pyogrio/releases