[Qgis-user] how to export jpg-georeferences

Richard Duivenvoorde rdmailings at duif.net
Wed Jun 20 07:21:22 PDT 2012


Hi Jan,

can jpg-files contain geo-tag information? Isn't it so that there is 
already a jpeg-worldfile in the folder and what you see is actually the 
information from that worldfile?

Anyway for geotiff's you can use the command 'listgeo' on ubuntu it is 
in de geotiff-bin package (see for example: 
http://packages.ubuntu.com/hardy/geotiff-bin, not sure if it is 
available in osgeo4w).
I'm also not sure if it works for jpeg...

On a geotiff you would do:

	listgeo mygeotiff.tif -tfw

So a directory of tif's:

	for i in *.tif; do echo $i;listgeo $i -tfw; done


The other way around (so packaging the world file information back into 
a tiff) is possible with the geotifcp command:

	geotifcp -e map2.tfw -4 "+proj=utm +zone=35 +south +ellps=WGS84 
+datum=WGS84 +units=m +no_defs +towgs84=0,0,0" map2.tif map2geo.tif


For some background:
http://lists.maptools.org/pipermail/geotiff/2004-September/000078.html


Regards,

Richard Duivenvoorde



On 06/20/2012 03:54 PM, Jan Tappenbeck wrote:
> Hi !
>
> i have a folder of jpg files with geocoordinates:
>
> example:
> Driver: GTiff/GeoTIFF
> Files:
> //file2008v-01/data/GIS/Support/Projekte/IRIS_Projekte/Beckum/201202_raster_zur_aufwandsschätzung/beckum_test_vorab/trans_300/dop10rgb_32427_5728_1_nw.jpg
>
> Size is 5000, 5000
> Coordinate System is `'
> Origin = (3427044.635862431000000,5730851.306048288000000)
> Pixel Size = (0.200079371417686,-0.200079371417686)
> Image Structure Metadata:
> INTERLEAVE=PIXEL
> Corner Coordinates:
> Upper Left ( 3427044.636, 5730851.306)
> Lower Left ( 3427044.636, 5729850.909)
> Upper Right ( 3428045.033, 5730851.306)
> Lower Right ( 3428045.033, 5729850.909)
> Center ( 3427544.834, 5730351.108)
> Band 1 Block=5000x1 Type=Byte, ColorInterp=Red
> Band 2 Block=5000x1 Type=Byte, ColorInterp=Green
> Band 3 Block=5000x1 Type=Byte, ColorInterp=Blue
>
> did anyone know a way to export word-files (jgw) ??
>
> regards Jan :-)
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list