⚠️ Our 0.1 release refactored several early-development functions for long-term stability, to update your code see here. ⚠️
Future changes will come with deprecation warnings! 🙂

geoutils.Vector.buffer_metric

geoutils.Vector.buffer_metric#

Vector.buffer_metric(buffer_size)[source]#

Buffer the vector features in a local metric system (UTM or UPS).

The outlines are projected to the local UTM or UPS, then reverted to the original projection after buffering.

Parameters:

buffer_size (float) – Buffering distance in meters.

Return type:

Vector

Returns:

Buffered shapefile.