Buffered bounding box

dbBbox(con, points, buffer)

Arguments

con

An active postgres DBI connection.

points

A data.frame with two columns representing longitude (Long) and latitude (Lat) with GPS values (EPSG:4326)

buffer

A numeric. Buffer distance in km.

Value

a bounding box 1km around points