Possible Duplicate:
How can I transform a georeferenced JPG to a georeferenced TIF?

UPDATE:Corrected link

I must note that I am new to GIS so pleas be understanding.


I have a raster file in this case it is an ortomap: http://imageshack.us/photo/my-images/703/ortofoto1.jpg/

and it has JGW (World File)


Now I want to use GDAL to apply the jpg+jgw to this aerial image:


so that it can have the coordinates according to the jgw file of the jpg ortomap.

What gdal console commands should I commit on those 3 files and what parameters should I consider? (I was thinking gdal_translate/gdalwarp maybe)

  • Please create a separate question for your second question> **2. Can i later use those two jpg files to create a 6 band IMG file with the jgw originated coordinates?** – R.K. Oct 7 '12 at 17:18
  • Not duplicate. I am after the jpg+wf and applying its coordinates to the aerial photo. No geoTiff here and no WorldFile generation it already exists in my case. What option makes GDAL know about EXISTING jgw file anyway? – user10787 Oct 7 '12 at 17:22
  • Aren't the two images the same? – R.K. Oct 7 '12 at 17:25
  • Thank you very much I put the wrong link for the second image. Now it is correct. First one is ortiomap with worldFile. The second is normal raster. I want the second one to have the coordinates according to the worldFile from the first one. – user10787 Oct 7 '12 at 17:27
  • In linked topic there is no way to point the gdal to use the coordinates basing on WorldFile given. – user10787 Oct 7 '12 at 17:43

There is currently no support for georeferencing information or metadata for JPEG files. That's why it needs an external world file. I would suggest that you first convert it to a georeferenced tiff. Once you've done that, you'll then need to do an image to image georeferencing in QGIS or some other GIS package.

Not the answer you're looking for? Browse other questions tagged or ask your own question.