Skip to main content
Question

KML view setter with exif data

  • February 28, 2018
  • 5 replies
  • 10 views

mikegresham1
Contributor
Forum|alt.badge.img+1

Hi,

I am in the process of creating a workbench to transform geotagged jpegs into KMLs. Ideally I want my photos to popup in google earth balloons at the location they were taken at. In order to do this I first need to extract the exif geographical information i.e.latitude, longitude, altitude, bearing etc. I would've thought that KML viewsetter would be the right tool for this however when I fill in the location fields with the appropriate exif information the KML still defaults to latitude 0, longitude 0. I'm quite sure I've got the right parameters "jpeg_exif_gpslongitude", "jpeg_exif_gpslatitude" etc. but it's not working for me.

Any ideas from the community?

Thanks,

Mike

5 replies

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • February 28, 2018

Hi @mikegresham1,

Did you take the photos with gps enable?

A few years ago I created a Proof of Concept using this concept.

Thanks,

Danilo


mikegresham1
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • March 2, 2018
danilo_fme wrote:

Hi @mikegresham1,

Did you take the photos with gps enable?

A few years ago I created a Proof of Concept using this concept.

Thanks,

Danilo

Hi Danilo,

 

 

Thanks for your comment - yes the photos were taken with a GPS enabled camera (I wouldn't have started creating my workbench if they hadn't been ;)). I have investigated a bit further and found that the exif data is being parsed however the formatting is incorrect. It appears that the data isn't in decimal degrees (I thought the exif data would be natively in decimal degrees) - below is an example of the gps longitude tag in the kml

 

 

<SimpleData name="jpeg_exif_gpslongitude">(153) (1) (51)</SimpleData>.

 

 

I am guessing I need a transformer to ensure that the exif data stays in decimal degrees and doesn't convert to what appears to be degrees minutes seconds.

 

 

Thanks again,

 

Mike

 

 


redgeographics
Celebrity
Forum|alt.badge.img+48

Here's a workspace that I built a while ago that does most of what you're doing (and if I recall correctly I based it on one that @KenAtSafe did, I think it's on the hub somewhere).

georef-fotos-uitlezen-v1.fmw


mikegresham1
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • March 5, 2018
redgeographics wrote:

Here's a workspace that I built a while ago that does most of what you're doing (and if I recall correctly I based it on one that @KenAtSafe did, I think it's on the hub somewhere).

georef-fotos-uitlezen-v1.fmw

That's exactly what I'm after - thanks very much.

 

 

That has saved me a lot of work.

 

 

Mike

 

 


martinkoch
Supporter
Forum|alt.badge.img+18
  • Supporter
  • September 12, 2019
redgeographics wrote:

Here's a workspace that I built a while ago that does most of what you're doing (and if I recall correctly I based it on one that @KenAtSafe did, I think it's on the hub somewhere).

georef-fotos-uitlezen-v1.fmw

Thanks Hans,

You confirmed my idea how to solve this, and saved me a lot of typing. Just made someone very happy on the other side of this set of desks.

Poor chap was checking 170+ photo's with the picture on one screen and a map on another, to guess if the name contained the right trajectory-number. So while FME was running my conversion I helped him a little.

I owe you a drink next time we meet ;-)

Martin


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings