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.3.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fionautil-0.3.3.tar.gz
Algorithm Hash digest
SHA256 618a281fe8a7fd05b9620d958311947d338dee76e33abc886bb342fa70d32c6f
MD5 9586b62d26afa1bc0e411071b969937f
BLAKE2b-256 d01801c3fc84a286f731d03e8a0df488e180b963d93888d0e18cd93ce8da6476

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fionautil-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de9977569008e8337fd388840a194ee0496d45f87a537bdfcd6f6315640c3855
MD5 b4f0bb9299787411dd9e14cf3de71fe2
BLAKE2b-256 888ad073524352d2181154bfd530992a3008d63a3e55773e1873145d846be412

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