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.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fionautil-0.5.3.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fionautil-0.5.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 45.6 kB
Release files / fionautil-0.5.3.tar.gz
| Download URL | fionautil-0.5.3.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c24fff86e3920c7b134391060efcc6e5771f8f6487b2a6a1d555f6c427eda8
|
|
BLAKE2b-256 checksum How to use checksums |
a3eda44383a7de5bbd95157e606af5ae40b2ee1dd692ea5a4e481cd7f823c807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fionautil-0.5.3-py2.py3-none-any.whl
| Download URL | fionautil-0.5.3-py2.py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3fefca4932b840abe08d85217492da152b8c9b97be7d0e9ae957df0902003915
|
|
BLAKE2b-256 checksum How to use checksums |
e5149410f62640e7095042d828f6c6317feabd416948ca9cbe7fed72b155265d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |