fionautil
Utilities for working with geodata with Fiona.
By default, the only prerequisite is Fiona itself.
By default, the package installs without shapely. A small number of functions, marked below, do require shapely. To use these function, install with pip install fionautil[functionname] or just separately install shapely.
Contents
drivers
Tools for fetching the driver name, given a file suffix
from_file
From suffix
feature
field_contains_test (test if a feature’s properties has certain key:value pairs)
togeojson (return a geojson-ready object)
shapify (requires shapely)
length (requires shapely)
compound
geometry
endpoints (for polyline features)
startpoint (for polyline features)
endpoint (for polyline features)
azimuth (between the start and end of a polyline)
disjointed
explodepoints
explodesegments
exploderings
countpoints
countsegments
roundgeometry - round all coordinates in a geometry to a given precision
layer
Most of these tools mimic builtin python itertools.
ffilter
ffilterfalse
fmap
fchain
freduce
fslice
fzip
length Total length of linear features in a file’s native projection or the given Proj object
meta (returns a layer’s meta attribute)
meta_complete (returns the meta attribute with addional metadata, e.g. bounds)
bounds (returns a layer’s bounds)
find (return a feature that matches a particular key=value)
measure
distance (between two coordinates)
azimuth (between two coordinates)
signed_area
clockwise (shortcut for checking if signed_area is >= 0)
counterclockwise (shortcut for checking if signed_area is < 0)
azimuth_distance (returns both azimuth and distance between two points)
intersect (check if two planar line segments intersect)
onsegment (check if a point lines on a line segment)
intersectingbounds (check if two bounding boxes intersect)
round
geometry - round all coordinates in a geometry to a specified precision
feature
scale
Utilities for scaling a feature or geometry by a given constant. Goes faster with Numpy installed.
geometry
scale_rings
scale - scales a list of coordinates
feature - scale the geometry of a feature
Metadata
Release files for fionautil 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fionautil-0.7.0.tar.gz | 17.6 kB | Without provenance | Details for fionautil-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fionautil-0.7.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for fionautil-0.7.0-py2.py3-none-any.whl |
Total release size: 43.8 kB
Release files / fionautil-0.7.0.tar.gz
| Download URL | fionautil-0.7.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe7389671e03b0a27430ae0af5a86da085134f7713f598c9f28c7dfd2dcbe3cd
|
|
BLAKE2b-256 checksum How to use checksums |
a7be2482c9053cca42aa6833186041ed8f5ed03f0dbf7928feb033bc4a80b3bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.5
|
Release files / fionautil-0.7.0-py2.py3-none-any.whl
| Download URL | fionautil-0.7.0-py2.py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7cfa41e4a652a424a4c48cc97702381826a2e0dcb98710b2e505e063b322d24d
|
|
BLAKE2b-256 checksum How to use checksums |
e60bac082f75a63740c20d2c70392adf0272b29b9ef20b4a30ffc319b75c2900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.5
|
Security for fionautil 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.