Skip to main content

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. 

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.


unfortunately jpgs were not put correctly in coordinates by reading jgws by FME.

I have read JPGs and JGWs seperately and took the x and y values from JGW and assigned coordinate system to new raster from JPG according to X Y values manually. 


If you set a coordinatesystem in the FeatureReader? Or use the coordinatesystemsetter transformer?


If you set a coordinatesystem in the FeatureReader? Or use the coordinatesystemsetter transformer?

I have added CRS with the coordinatesystemsetter. 


Reply