<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Idan,</p>
<p><br>
</p>
<p>thank you for your input.</p>
<p><br>
</p>
<p>I use the .vrt step to assemble a group of tif's to one common
file.</p>
<p>In a second step I use something like <br>
</p>
<p>gdal_translate -of GTiff -co COMPRESS=LZW -co tiled=yes maps.vrt
maps.tiff <br>
</p>
<p>But the maps.tiff has no georeference data's as well.</p>
<p><br>
</p>
<p>This two steps works well with other Geotiff tiles, but maybe
there's a more easy way to create one map from several tiles.</p>
<p><br>
</p>
<p>Kind regards</p>
<p><br>
</p>
<p>Piet<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 20.08.20 um 13:49 schrieb Idan
Miara:<br>
</div>
<blockquote type="cite"
cite="mid:CAEDrt3-4jyco1r09QoX+KZoy4L_UuxWAp_OivepL6-nwuSQEyw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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"
moz-do-not-send="true">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"
moz-do-not-send="true">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote>
</div>
</div>
</blockquote>
</body>
</html>