BSD Ports

graphics/py-pyproj 3.7.1 DragonFly

Cython wrapper to provide python interfaces to PROJ.4 functions

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
geography, graphics, python
Package size
499.0 KiB, 2715.6 KiB installed

Description

Cython wrapper to provide python interfaces to PROJ.4 functions.

Performs cartographic transformations and geodetic computations.

The Proj class can convert from geographic (longitude,latitude) to native map projection (x,y) coordinates and vice versa, or from one map projection coordinate system directly to another. The module variable pj_list is a dictionary containing all the available projections and their descriptions.

The Geod class can perform forward and inverse geodetic, or Great Circle, computations. The forward computation involves determining latitude, longitude and back azimuth of a terminus point given the latitude and longitude of an initial point, plus azimuth and distance. The inverse computation involves determining the forward and back azimuths and distance given the latitudes and longitudes of an initial and terminus point.

Input coordinates can be given as python arrays, lists/tuples, scalars or numpy/Numeric/numarray arrays. Optimized for objects that support the Python buffer protocol (regular python and numpy array objects).

In the other systems

SystemPortVersion
DragonFlygraphics/py-pyproj3.7.1
FreeBSDgraphics/py-pyproj3.8.0_1
MidnightBSDgraphics/py-pyproj3.7.2_2
HardenedBSDgraphics/py-pyproj3.8.0
GhostBSDgraphics/py-pyproj3.8.0

Install

Binary package:

pkg install py311-pyproj

From DPorts:

cd /usr/dports/graphics/py-pyproj && make install clean

Dependencies

Run dependencies 3