Skip to main content
Question

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


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.

3 replies

danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • December 8, 2017

Hi @pilgrimjake,

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

Thanks,

Danilo


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
Evangelist
  • 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.


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