cartopy.io.shapereader.Record#

class cartopy.io.shapereader.Record(shape, attributes, fields)[source]#

A single logical entry from a shapefile, combining the attributes with their associated geometry.

__init__(shape, attributes, fields)[source]#

Methods

__init__(shape, attributes, fields)

Attributes

bounds

The bounds of this Record's geometry().

geometry

A shapely.geometry instance for this Record.

attributes

A dictionary mapping attribute names to attribute values.