<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>According to gdalinfo your vrt looks fine, so it might be a problem with the vrt support in mapviewer.</div><div>What are you trying to accomplish with this vrt? if you just want to georeference your tif you could try:</div><div><span style="color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;white-space:pre-wrap;background-color:rgb(228,230,232)">gdal_translate -of GTiff input.tif ouput.tif</span>  <br></div></div><div>use "-co COMPRESS=DEFLATE -co TILED=YES -co BIGTIFF=IF_SAFER" or other gtiff parameters as needed:</div><div><a href="https://gdal.org/drivers/raster/gtiff.html">https://gdal.org/drivers/raster/gtiff.html</a>  <br></div><div><br></div><div>Idan<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 20 Aug 2020 at 12:49, APM <<a href="mailto:apschwimmer@apmland.de">apschwimmer@apmland.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello list,<br>
<br>
<br>
I'm a beginner with gdal and use Linux Debian testing as the OS.<br>
<br>
<br>
I like to create a .vrt file to use a map.<br>
<br>
The map comes with a worldfile .tfw:<br>
<br>
1.2700000000<br>
0.0000000000<br>
0.0000000000<br>
-1.2700000000<br>
376279.1000000000<br>
5679613.9199999999<br>
<br>
<br>
If I try to build the .vrt by using<br>
<br>
<br>
gdalbuildvrt map_1.vrt map_1.tif<br>
<br>
<br>
The .vrt is present now.<br>
<br>
<br>
But I can't use it in a mapviewer, which gives out a message, that the <br>
georeferences are not present.<br>
<br>
<br>
gdalinfo map_1.tif<br>
Driver: GTiff/GeoTIFF<br>
Files: map_1.tif<br>
        map_1.tfw<br>
Size is 16252, 13444<br>
Origin = (376278.464999999967404,5679614.554999999701977)<br>
Pixel Size = (1.270000000000000,-1.270000000000000)<br>
Image Structure Metadata:<br>
   COMPRESSION=DEFLATE<br>
   INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left  (  376278.465, 5679614.555)<br>
Lower Left  (  376278.465, 5662540.675)<br>
Upper Right (  396918.505, 5679614.555)<br>
Lower Right (  396918.505, 5662540.675)<br>
Center      (  386598.485, 5671077.615)<br>
Band 1 Block=128x128 Type=Byte, ColorInterp=Red<br>
   NoData Value=0<br>
Band 2 Block=128x128 Type=Byte, ColorInterp=Green<br>
   NoData Value=0<br>
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue<br>
   NoData Value=0<br>
<br>
<br>
gdalinfo map_1.vrt<br>
Driver: VRT/Virtual Raster<br>
Files: map_1.vrt<br>
        map_1.tif<br>
Size is 16252, 13444<br>
Origin = (376278.464999999967404,5679614.554999999701977)<br>
Pixel Size = (1.270000000000000,-1.270000000000000)<br>
Corner Coordinates:<br>
Upper Left  (  376278.465, 5679614.555)<br>
Lower Left  (  376278.465, 5662540.675)<br>
Upper Right (  396918.505, 5679614.555)<br>
Lower Right (  396918.505, 5662540.675)<br>
Center      (  386598.485, 5671077.615)<br>
Band 1 Block=128x128 Type=Byte, ColorInterp=Red<br>
   NoData Value=0<br>
Band 2 Block=128x128 Type=Byte, ColorInterp=Green<br>
   NoData Value=0<br>
Band 3 Block=128x128 Type=Byte, ColorInterp=Blue<br>
   NoData Value=0<br>
<br>
<br>
Can you give me a hint, please?<br>
<br>
<br>
Thank you!<br>
<br>
<br>
KR<br>
<br>
Piet<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div></div>