MapTools
gisNewFree · No signup

Spatial Buffer Generator & Geometry Union Tool

Generate geodesic Euclidean or ellipsoidal buffer polygons around points, lines, or boundary vectors with customizable radii and dissolved overlapping boundaries.

Spatial Operations:
Valid GeoJSON FeatureCollection
Loading Google Maps JavaScript Canvas...
Updates in real-time as you edit or apply spatial vector operators.

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Leverages computational geometry via Turf.js buffer algorithms calculating Vincenty distances.

  2. 2

    Performs polygon union (dissolve) across overlapping geometries to produce unified spatial footprints.

Common uses

  • Environmental setback zoning and pipeline hazard zones
  • Retail service catchment area modeling
  • Acoustic noise buffer analysis

Frequently asked questions

Euclidean buffering calculates buffers in projected planar space, causing severe distortion near poles. Geodesic buffering calculates true ground distance along the WGS84 ellipsoid.

More in GIS Analysis

View all →
Worked example

Buffering a Two-Mile Rail Trail Corridor in Vermont for a Habitat Survey

A conservation group in Vermont is planning a habitat survey along a rail trail and needs to know the land within a quarter mile of the path, where trail work and wildlife sightings matter most. They draw the trail centerline on the map, select a buffer distance of 0.25 miles (about 1,320 feet), and generate the corridor polygon. Before the survey they sanity-check the size for one straight 2-mile segment. The buffer rectangle is the segment length times the full width: 2 miles times 0.5 miles equals 1.0 square mile. The rounded end caps add a full circle of radius 0.25 miles, which is pi times 0.25 squared, about 0.196 square miles. Total corridor for that segment is about 1.2 square miles, or roughly 765 acres (310 hectares), which matches the tool's area report.

They also buffer the trailhead parking area as a point with a half-mile radius, giving pi times 0.5 squared, about 0.785 square miles or 503 acres, where volunteers will log bird sightings. Where the point buffer overlaps the trail corridor, they run the union option so the shared ground is dissolved into one polygon instead of being counted twice in the survey totals. For one work day they zoom to a smaller job: a 100-foot buffer around a stream crossing where the group will plant native shrubs. The area is pi times 100 squared, about 31,416 square feet, which is roughly 0.72 of an acre. That small number tells the coordinator the job needs one truck of plants, not three, and six volunteers rather than a dozen.

The finished corridor is exported and shared with the land trust. Because the buffer was generated geodesically, the quarter-mile width stays honest along the whole trail, even where the path bends around the river, instead of stretching the way a flat screen measurement would. They repeat the check on the trail's winding 3.5-mile northern section before trusting the full map. The rectangle part is 3.5 times 0.5, which is 1.75 square miles, and adding the same 0.196 square miles of end caps gives about 1.95 square miles, roughly 1,245 acres. The tool's report for that section lands within a few acres of the hand calculation, the small difference coming from the bends, so the group signs off on the corridor and books the survey weekends.

Three ponds inside the corridor get their own treatment for the amphibian survey. Each pond is buffered as a point with a 300-foot radius, which is pi times 300 squared, about 282,743 square feet, or roughly 6.5 acres per pond. All three together cover about 19.5 acres, and because each pond buffer sits inside the trail corridor, the union step folds them into the same single survey polygon, so the final acreage the group reports to the land trust counts every patch of ground exactly once.

Common mistakes to avoid

  • Buffering in degrees instead of distance units. A 0.25 degree buffer is about 17 miles tall but narrower in miles east to west the farther north you go. Always set buffers in miles, feet, or kilometers so the width is real.
  • Forgetting the end caps on line buffers. A buffered line is longer than the line itself, because the rounded caps extend half the buffer width past each end. People who budget only for the rectangle undercount the area.
  • Double-counting overlapping buffers. If two buffer zones overlap and you simply add their areas, the shared ground gets counted twice. Dissolve or union the polygons first when accurate totals matter.

Pro tips

  • Include the radius and units in the exported file name, such as trail_buffer_quarter_mile, so nobody has to guess later.
  • Check the tool's reported area against pi times r squared for point buffers; a close match confirms your units are right.
  • For long routes that cross many miles, prefer geodesic buffers so the width does not drift with map projection.
Geospatial Engineering Reference & Field Manual

GIS Files & Interoperability: Speaking Every Map Format

GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for Spatial Buffer Generator & Geometry Union Tool and the everyday mapping tasks around it.

1

Vector vs. Raster: The Two Tribes

Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.

Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.

Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.

2

GeoJSON: The Web's Native Tongue

GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.

{"type": "Point", "coordinates": [-74.006, 40.7128]}

Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.

GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.

For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.

This page shows the first two chapters. Read the complete this category field guide →