helpful utilities for working with geodata with Fiona
Project description
fionautil
Utilities for working with geodata with Fiona. Some features are shorthand for pyproj features, or add in support for projections.
Contents
feature
overlaps
field_contains_test (test if a feature’s properties has certain key:value pairs)
togeojson (return a geojson-ready object)
shapify
length
compound
geometry
endpoints (for polyline features)
startpoint (for polyline features)
endpoint (for polyline features)
bbox
azimuth (between the start and end of a polyline)
disjointed
explodepoints
explodesegments
exploderings
countpoints
countsegments
layer
Most of these tools that 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 (records a layers meta attribute)
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file fionautil-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: fionautil-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5805573ccf6ac55f5fbcbbded0e8cc99725f18dcdfbbeb63dba491d5ed97a008 |
|
MD5 | 450daea8f604b2be88fec69f3953e040 |
|
BLAKE2b-256 | a960ff54d323cc7f44e15631cd502160888c8f6c5faf17136ce861b1c3633631 |