reVX.setbacks.functions.parcel_buffer
- parcel_buffer(features, regulation_value)[source]
Buffer features imitating a parcel setback.
Parcel (property-line) setbacks typically prohibit any type of build within “x” meters of a property line. Therefore, this type of buffer first applies a negative buffer on each input feature and then takes the difference between the original and the negatively-buffered feature. The resulting shape is the “inside” of the original input feature, where each edge is no closer than
regulation_value
to the original feature boundary.- Parameters:
features (geopandas.GeoDataFrame) – Features to apply buffer to.
regulation_value (int | float) – Regulations value used to (negatively) buffer the features. This value should be in the same units as the
features
input GeoDataFrame.
See also
geopandas.GeoSeries.buffer
Function used ot buffer each feature.
- Returns:
list – List of buffered buffered feature shapes.