Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fionautil-0.3.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

fionautil-0.3.2-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file fionautil-0.3.2.tar.gz.

File metadata

  • Download URL: fionautil-0.3.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fionautil-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c9b51b6ff2f953900d6506a5cee4f56672eeb640f0385e801703fa906d96626f
MD5 b2c9356b1825a9a29c4a80e7e1e1dbe1
BLAKE2b-256 dd9215d69c419835e23919f7d030b8f3b3667539556808f6dd61b10d671ec501

See more details on using hashes here.

File details

Details for the file fionautil-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fionautil-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4c8c9f77f424e51c979f21fa2199683d9662bc6f398b02a8148f6a05ff3874
MD5 94302ad9c4947c012daf3984ba889193
BLAKE2b-256 12bf9bbed8dcfc0c2c6b0d998264b45d4762e8b6d41ddcf608acf7ad2583f7ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page