fastpynuts.utils

Contains miscellaneous utilities.

Module Contents

Functions

geometry2shapely

Convert the geometry given by dictionary geometry to a shapely geometry using shapely’s shape. Additionally allows to pass a GeoJSON feature containing

API

fastpynuts.utils.geometry2shapely(geometry)

Convert the geometry given by dictionary geometry to a shapely geometry using shapely’s shape. Additionally allows to pass a GeoJSON feature containing

Supported geometry types:

  • Polygon

  • MultiPolygon

  • MultiPoint

  • a GeoJSON feature containing one of the above valid geometries