How I get accurate GPS location information in Obsidian in a semi-automated way

Some more information scent for anyone curious:

This is specifically for iOS/OS X

The gist of it is to create a Shortcut, which will run periodically (or on any other trigger you like) on a device that has location capabilities, and insert the location information directly in your vault, in a note, in FrontMatter format.