Given a set of GeoDisks, how can one determine the combined region area, presumably through GeoArea? GeoDisks may overlap or be disjoint. Disjoint disks should sum to the total area, while overlapping disks should only contribute their union area.

With regular Disk objects, one can use RegionUnion on the set of Disks and then use Area, and this works fine. However, there doesn't seem to be a similar "GeoUnion" for geographical objects. Any ideas?


1 Answer 1


Depending on your accuracy goals, one possible way is to generate GeoGraphics, extract out the Polygon(s), use BoundaryDiscretizeGraphics to convert to a MeshRegion, extract the coordinates from the mesh, reverse order so it's {lat, lon}, make it back into a single Polygon, and finally use GeoArea.

geoAreaDisks[d__GeoDisk] :=
  polys = 
     GeoGraphics[{GeoStyling[Opacity[1]], d}, 
      GeoBackground -> None]], p_Polygon :> p, \[Infinity]];
        BoundaryDiscretizeGraphics[polys]] /. {a_, b_} :> {b, a}]], 

d1 = GeoDisk[Entity["City", {"Topeka", "Kansas", "UnitedStates"}], 
   Quantity[100, "Miles"]];
d2 = GeoDisk[Entity["City", {"Manhattan", "Kansas", "UnitedStates"}], 
   Quantity[75, "Miles"]];

geoAreaDisks[d1, d2]
(* Quantity[2.68948*10^7, "Acres"] *)
  • $\begingroup$ Nice work with the clever approach. It's too bad Mathematica can't do this directly with geographic regions like it does with geometric ones. Thank you. $\endgroup$
    – Alan
    Commented May 23, 2017 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.