Question

.jpg .jgw with different coordinate system to Geotiff

  • 12 April 2024
  • 1 reply
  • 42 views

Badge

Hallo FME community, I am new to this FME software and got a task. 
 

I have 100 city folders with single .jpg and .jgw file inside each folders. .jgw has x and y coordinates of a reference system. Can anyone tell me workflow with necessary transformers to select each jpg with their .jgw and create their own destination folder and save the Geotiffs in individual folders. 


1 reply

Userlevel 4
Badge +18

I think you want to:

 

Creator → FeatureReader(Directory and Filepath) → FeatureReader(.jpg) → FeatureWriter(.tif)

The first featureReader reads all the files in all the (sub)folders. You then send all the jpg files (path_windows) to the second FeatureReader to read all the jpg files. I think FME recognizes the jpw (world file) and puts them in the right coordinate. Then you use a FeatureWriter to write Geotiff. Here you can do all sorts of things like writing to c:\project\@Value(path_rootname)\@Value(path_filename) to write to subfolders.

Reply