implement writing of geolocation metadata.