Buffering A Shape By A Huge Geodetic Distance

metadata
  • keywords:
  • published:
  • updated:
  • Atom Feed

This is just a very quick blog post to say that I have further improved my buffering function in my Python 3 module by adding tests for very large distances. This means that it now seamlessly transitions from a polygon to a complete rectangle with polygon holes.

Download:
  1. 512 px × 512 px (0.3 Mpx; 244.6 KiB)
  2. 1,024 px × 1,024 px (1.0 Mpx; 366.4 KiB)
  3. 1,800 px × 1,800 px (3.2 Mpx; 668.3 KiB)

A consequence is that there is now a maximum buffering distance of 19,970,326.3 metres - any more than that, and depending on where you started, then it is possible that nowhere on the surface of the Earth is that far away from you, i.e., if it is further away in front of you then it comes closer behind you.