MapTools
gisFree · No signup

Voronoi Diagram & Delaunay Triangulation Generator

Generate mathematical Voronoi cells and Delaunay triangulation networks from coordinate point clusters to partition space into regions of closest proximity.

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

    Executes Fortune sweep-line algorithm to construct circumcircles for all triplets of input coordinates.

  2. 2

    Clips unbounded Voronoi polygons against defined geographic bounding boxes.

Common uses

  • Hospital and emergency response territory mapping
  • Cell tower catchment coverage
  • Retail market share partitioning

Frequently asked questions

Thiessen polygons is the traditional GIS term for Voronoi diagrams, named after meteorologist Alfred Thiessen who used them for rainfall estimation.

More in GIS Analysis

View all →
Worked example

Splitting Delivery Zones Around Four Pizza Shops in Austin

A small pizza chain in Austin has four shops and a constant argument at the counter: which shop should deliver to a given street? The manager plots the four shop locations in the generator, and the Voronoi diagram divides the city into four cells. Every point inside a cell is closer, in a straight line, to that cell's shop than to any other. The map settles most arguments instantly. The cell borders run along the perpendicular halfway lines between neighboring shops, so a house that sits 1.2 miles from the North Loop shop and 1.2 miles from the Hyde Park shop falls exactly on a border. The manager assigns borderline streets to whichever shop has the lighter Friday load and writes the rule on the diagram.

Switching on the Delaunay triangulation shows which shops are true neighbors: only shops linked by a triangle edge share a border. The two shops across the river from each other are not linked, which tells the manager there is no point setting up a driver handoff between them; handoffs only make sense along linked pairs. Comparing cell sizes sharpens the picture. The clipped diagram gives the downtown shop a compact cell of about 12 square miles, while the South Congress cell sprawls to roughly 38 square miles, more than three times the area with a similar number of drivers. That imbalance, obvious in the geometry, is why south-side deliveries run late on Fridays.

One gap stands out: a fast-growing suburb in the southeast corner falls inside the South Congress cell but sits near its far edge, almost 5 miles from that shop. The diagram makes the case for a fifth location better than any spreadsheet, because the oversized cell is visible at a glance. The geometry behind a border is worth understanding once. Between two shops 3 miles apart, the shared border is the line of points exactly 1.5 miles from each, the perpendicular bisector of the segment joining them. So when a new subdivision opens 1.1 miles from the North Loop shop and 1.9 miles from Hyde Park, nobody debates it: it sits clearly inside the North Loop cell. The manager adds its streets to that shop's board the same day, and the printed diagram goes on the wall with the border streets highlighted.

Before committing to the fifth shop, the manager tests it in the diagram first. Dropping a trial point in the suburb redraws the map instantly: the new shop takes a cell of about 9 square miles, carved almost entirely out of the South Congress cell, which shrinks from about 38 to about 29 square miles. The other three cells barely change, which tells her the new location relieves exactly the shop that was drowning and cannibalizes almost nothing from the rest. That picture becomes the centerpiece of her pitch to the owners.

Common mistakes to avoid

  • Treating cell borders as drive-time borders. Voronoi cells measure straight-line distance. A river, highway, or missing bridge can make the closest shop on paper the slowest in practice, so check borderline streets against real roads.
  • Leaving edge cells open. Cells on the outside of your point set stretch away to the map edge, which exaggerates their size. Clip the diagram to your real service boundary before comparing cell areas.
  • Entering the same location twice. Two identical points create a broken, zero-width cell and can distort the neighbors around them. Remove duplicate addresses before generating the diagram.

Pro tips

  • Use the diagram for first-pass zone planning, then adjust borders along natural barriers such as rivers and highways.
  • The Delaunay links double as a neighbor list, useful for planning staff sharing or driver handoffs between adjacent zones.
  • Regenerate the diagram whenever you add or close a location; a single new point redraws several borders at once.
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 Voronoi Diagram & Delaunay Triangulation Generator 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 →