Metadata-Version: 2.0
Name: fionautil
Version: 0.4.1
Summary: helpful utilities for working with geodata with Fiona
Home-page: http://github.com/fitnr/fionautil/
Author: Neil Freeman
Author-email: contact@fakeisthenewreal.org
License: GNU General Public License v3 (GPLv3)
Keywords: GIS
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Operating System :: OS Independent
Requires-Dist: fiona (>=1.5.0,<2.0)
Requires-Dist: pyproj (>=1.9.3,<1.10)
Provides-Extra: dissolve
Requires-Dist: shapely (>=1.5.0,<2.0); extra == 'dissolve'
Provides-Extra: length
Requires-Dist: shapely (>=1.5.0,<2.0); extra == 'length'
Provides-Extra: shapify
Requires-Dist: shapely (>=1.5.0,<2.0); extra == 'shapify'
Provides-Extra: speed
Requires-Dist: numpy (>1.9); extra == 'speed'

fionautil
~~~~~~~~~

Utilities for working with geodata with
`Fiona <https://pypi.python.org/pypi/Fiona/1.5.0>`__. Some features are
shorthand for `pyproj <https://pypi.python.org/pypi/pyproj>`__ features,
or add in support for projections.

By defauly, the only prerequisites are ``pyproj`` and 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
--------

feature
~~~~~~~

-  overlaps
-  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)
-  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)



