Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

PROBLEM:

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)

0.683772574816354
0.000000000000000
0.000000000000000
-0.683739485024190
395057.114562241190000
741149.458682749890000

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

http://imageshack.us/photo/my-images/688/aerialphoto.jpg/

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)

share|improve this question

marked as duplicate by R.K., whuber Oct 7 '12 at 19:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
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

1 Answer 1

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.

share|improve this answer

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