GPS Coordinates

When you upload a photo can it be placed on a map where the photo was taken? Does it keep the gps from the original photo in the file, so it can be worked with?
Thanks

1 Like

Hi @Kyle1 - welcome to the forum. :waving_hand:
That’s a very intriguing and interesting question :thinking: - In over eight years of building in Knack, it’s a question I’ve never been asked and unfortunately, I don’t have a solution.

Hopefully, one of my colleagues will jump in on this thread and be able to help?

Thanks Carl. Good talking with you again, it has been a while.

Best regards,
Kyle McAfee
407-235-8808

Beyel Brothers
Cocoa, FL

1 Like

The exif data of the photo is indeed preserved, so the included GPS coordinates should remain preserved. However, in order to put the photo on a map, you would need to extract the coordinates from the photo first. Knack does not have a built in way to do this. Instead, you would need a little piece of Javascript to extract the coordinates and save them to a
location field on the record. This library would help achieve that: exifreader - npm

Good to know, at least it perseveres the coordinates. Thanks.
Kyle