rasterio._features module

Feature extraction

class rasterio._features.GeomBuilder

Bases: object

Builds a GeoJSON (Fiona-style) geometry from an OGR geometry.

class rasterio._features.OGRGeomBuilder

Bases: object

Builds an OGR geometry from GeoJSON geometry. From Fiona: https://github.com/Toblerity/Fiona/blob/master/src/fiona/ogrext.pyx

class rasterio._features.ShapeIterator

Bases: object

Provides an iterator over shapes in an OGR feature layer.