[gdal-dev] gdalbuildvrt could not use worldfile
APM
apschwimmer at apmland.de
Thu Aug 20 02:44:23 PDT 2020
Hello list,
I'm a beginner with gdal and use Linux Debian testing as the OS.
I like to create a .vrt file to use a map.
The map comes with a worldfile .tfw:
1.2700000000
0.0000000000
0.0000000000
-1.2700000000
376279.1000000000
5679613.9199999999
If I try to build the .vrt by using
gdalbuildvrt map_1.vrt map_1.tif
The .vrt is present now.
But I can't use it in a mapviewer, which gives out a message, that the
georeferences are not present.
gdalinfo map_1.tif
Driver: GTiff/GeoTIFF
Files: map_1.tif
map_1.tfw
Size is 16252, 13444
Origin = (376278.464999999967404,5679614.554999999701977)
Pixel Size = (1.270000000000000,-1.270000000000000)
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 376278.465, 5679614.555)
Lower Left ( 376278.465, 5662540.675)
Upper Right ( 396918.505, 5679614.555)
Lower Right ( 396918.505, 5662540.675)
Center ( 386598.485, 5671077.615)
Band 1 Block=128x128 Type=Byte, ColorInterp=Red
NoData Value=0
Band 2 Block=128x128 Type=Byte, ColorInterp=Green
NoData Value=0
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue
NoData Value=0
gdalinfo map_1.vrt
Driver: VRT/Virtual Raster
Files: map_1.vrt
map_1.tif
Size is 16252, 13444
Origin = (376278.464999999967404,5679614.554999999701977)
Pixel Size = (1.270000000000000,-1.270000000000000)
Corner Coordinates:
Upper Left ( 376278.465, 5679614.555)
Lower Left ( 376278.465, 5662540.675)
Upper Right ( 396918.505, 5679614.555)
Lower Right ( 396918.505, 5662540.675)
Center ( 386598.485, 5671077.615)
Band 1 Block=128x128 Type=Byte, ColorInterp=Red
NoData Value=0
Band 2 Block=128x128 Type=Byte, ColorInterp=Green
NoData Value=0
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue
NoData Value=0
Can you give me a hint, please?
Thank you!
KR
Piet
More information about the gdal-dev
mailing list