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.

attributes#

A dictionary mapping attribute names to attribute values.

property bounds#

The bounds of this Record’s geometry().

property geometry#

A shapely.geometry instance for this Record.

The geometry may be None if a null shape is defined in the shapefile.