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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.13.0 | 0.13.0 | - | - | 0.13.0 |
| FreeBSD:14:quarterly | 0.13.0 | 0.13.0 | n/a | - | 0.13.0 |
| FreeBSD:15:latest | 0.13.0 | 0.13.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.13.0 | 0.13.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.13.0 | 0.13.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}versioneer>=0.28: devel/py-versioneer${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Library 1
libgdal.so: graphics/gdal
Runtime 3
${PYTHON_PKGNAMEPREFIX}certifi>=0: security/py-certifi${PYTHON_PKGNAMEPREFIX}numpy>=0,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging
The full lists below include those, and their dependencies in turn.
Build dependencies 87
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/minizip
- archivers/zstd
- databases/postgresql18-client
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/binutils
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/json-c
- devel/libedit
- devel/libffi
- devel/librttopo
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-versioneer
- devel/py-wheel
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/gdal
- graphics/geos
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libgeotiff
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/tiff
- graphics/webp
- lang/cython
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/qhull
- net/uriparser
- print/freetype2
- print/indexinfo
- science/hdf5
- science/libaec
- science/libkml
- science/netcdf
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libssh2
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- textproc/expat2
- textproc/freexl
- textproc/libxml2
- textproc/xerces-c3
- www/libnghttp2
- x11-fonts/fontconfig
Run dependencies 83
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/minizip
- archivers/zstd
- databases/postgresql18-client
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/binutils
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/json-c
- devel/libedit
- devel/libffi
- devel/librttopo
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/gdal
- graphics/geos
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libgeotiff
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- math/qhull
- net/uriparser
- print/freetype2
- print/indexinfo
- science/hdf5
- science/libaec
- science/libkml
- science/netcdf
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libssh2
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- security/py-certifi
- textproc/expat2
- textproc/freexl
- textproc/libxml2
- textproc/xerces-c3
- www/libnghttp2
- x11-fonts/fontconfig
Required by 31
- devel/py-dask-geopandas
- graphics/py-geopandas
- graphics/py-geosnap
- graphics/py-giddy
- graphics/py-mgwr
- graphics/py-momepy
- graphics/py-neatnet
- graphics/py-osmnet
- graphics/py-osmnx
- graphics/py-pandarm
- graphics/py-pointpats
- graphics/py-rasterstats
- graphics/py-urbanaccess
- graphics/qgis
- graphics/qgis-ltr
- math/py-spglm
- math/py-spint
- math/py-splot
- math/py-spopt
- math/py-spreg
- science/py-access
- science/py-earthpy
- science/py-esda
- science/py-gwlearn
- science/py-inequality
- science/py-libpysal
- science/py-pysal
- science/py-segregation
- science/py-spaghetti
- science/py-spml
- science/py-tobler
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyogrio-0.13.0.tar.gz | 313103 | 9614f27a1891113f80653e0b76b4233ea1fb3beeb1ac46d118ab22e1670f8f13 |
Master sites 1
- PYPI