Buffering Points in the Browser
Recently I made a few base maps of various-sized buffers around ad hoc points. This type of request is quite common from my colleagues - draw a circle around a given point to understand relationships of distance.
I thought to myself - there must be a tool which allows one to drop a point on a map and see arbitrary distances, and to simply visualize these.
What I came up with is a basic workflow: using two tools together which harness the versatility of JavaScript object notation (GeoJSON) and the relative simplicity of tools which parse it:
GitHub Gists supports rendering GeoJSON in the browser.
Requirements:
- Spatial data
- Buffer calculation and visualization
- Map styles
Steps:
- geojson.io - allows for in-browser data editing and
- dropchop.io - built on the capability of turf.js and engineered by the folks at CUGOS, Dropchop is an in-browser GIS.
- Mapbox styles
Written on March 11, 2017