Source: https://github.com/barrycarter/bcapps/blob/master/MAPS/bc-image-overlay-nokml.pl
See also: https://github.com/barrycarter/bcapps/blob/master/MAPS/