buffer module

Created on Wed May 2 10:35:46 2018

@author: jpelda

buffer.buffer(gdf, x_min, x_max, y_min, y_max, factor=1.9)[source]

Creates buffer around points. Buffer is rectangle with x == length of map divided by amounts of points in x-direction and y = length of map divided by amounts of poitns in y direction. CRS is variable.

gdf : geopandas.GeoDataFrame()
gdf[‘len_x’], gdf[‘len_y’], gdf[‘CENTROID’]
x_max : float
length of map in x direction
y_max : float
length of map in y direction
factor : float Defines the boarder around each rectangle by (rectangle’s width)/ factor
polygons : list
polygons of shape rectangle