Rick_Stringer

GetContainerAttribute not giving me Latitude & Longitude

Discussion created by Rick_Stringer on Jan 23, 2014
Latest reply on Jan 23, 2014 by Rick_Stringer

I have a solution I'm working on that will be used on an iPad. Photos will be taken out on site. Sometimes they will be directly from the iPad, sometimes they will be imported from a camera. I have a calculation field that is evaluating the container with the GetContainerAttribute. All of the metadata information appears to be working except for Latitude and Longitude. I have location services turned on, and FileMaker Go 13 has permission to get that information.

 

An alternative is the Location function, but that only helps if the image is taken from the iPad.

 

My field has this calculation in it:

 

"File Name: " & GetContainerAttribute ( Photo ; "filename" ) & ¶ &

"StorageType: " & GetContainerAttribute ( Photo ; "storageType" ) & ¶ &

"File Size: " & GetContainerAttribute ( Photo ; "fileSize" ) & " bytes" & ¶ &

"Internal Size: " & GetContainerAttribute ( Photo ; "internalSize" ) & " bytes" & ¶ &

"External Size: " & GetContainerAttribute ( Photo ; "storageType" ) & " bytes" & ¶ &

"Width: " & GetContainerAttribute ( Photo ; "width" ) & " px" & ¶ &

"Height: " & GetContainerAttribute ( Photo ; "height" ) & " px" & ¶ &

"Created: " & GetContainerAttribute ( Photo ; "created" ) & ¶ &

"Modified: " & GetContainerAttribute ( Photo ; "modified" ) & ¶ &

"Latitude: " & GetContainerAttribute ( Photo ; "latitude" ) & ¶ &

"Longitude: " & GetContainerAttribute ( Photo ; "longitude" )

 

Any thoughs about what I'm doing wrong will be greatly appreciated.

 

Thanks.

Rick

Outcomes