Skip to main content
Question

Can FME read the coordinates from an ESRI jpg with a jgw and XML file?

  • December 8, 2017
  • 3 replies
  • 70 views

Folks,

I'm trying to make a Polygon Catalogue of all the jpg images we have in a directory/ subdirectory. So far I havent been able to get FME to to detect the Coordinates embedded in the XML and jgw files. Is this possible?

many thanks.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • December 8, 2017

Hi @pilgrimjake,

When you read a JPEG file in FME, you can use the custom transformer PhotoCoordinateExtractor.

Thanks,

Danilo


  • Author
  • December 8, 2017

Tanks Dailo - unfortunately its not quite what's going on. They arent normal jpgs with coordinate - but ESRI georeferenced files, so the PhotoCoordinateExtractor doesnt see them - and they have the details in the XML and Jgw files associated with them.


david_r
Celebrity
  • December 8, 2017

Worst case, you could read the XML files using the regular XML reader and extract the coordinates from there. I'm guessing that the base filename of the XML is the same as the JPEG.

If you need help, consider posting a sample XML file here.