block by Fil 6128aae082c04eef06422f953d0f593f

Spherical extent

Full Screen

Computing the extent for a spherical Voronoi diagram.

The pain point here was that we’re filtering a GeoJSON object, and want the results to stay in spherical coordinates. However the clipping should reflect the way features will be printed on paper (or on screen), i.e. in the final projection (Mercator).

Next steps: make this a configurable function and one that preserves the features’ properties.

by Philippe Rivière.

forked from Fil‘s block: geoVoronoi polygons()

index.html