Re: [gdal-dev] gdalbuildvrt could not use worldfile

2020-08-20 Thread Idan Miara
It might indeed be the missing CRS info (world files include only the pixel size and corner pixel). Try to add the -a_srs parameter as Jukka suggested. for instance, add "-a_srs EPSG:32632" (if you are using WGS84 / UTM Zone 32N https://epsg.io/32632 ) On Thu, 20 Aug 2020 at

Re: [gdal-dev] gdalbuildvrt could not use worldfile

2020-08-20 Thread APM
Dear Idan, thank you for your input. I use the .vrt step to assemble a group of tif's to one common file. In a second step I use something like gdal_translate -of GTiff -co COMPRESS=LZW -co tiled=yes maps.vrt maps.tiff But the maps.tiff has no georeference data's as well. This two steps w

Re: [gdal-dev] gdalbuildvrt could not use worldfile

2020-08-20 Thread jratike80
Hi, I don't know your map viewer but perhaps it wants to know both the location of your image (the coordinates) and in what coordinate reference system the coordinates are. You have now the corner coordinates and pixel size but the CRS is unknown. Run gdalbuildvrt with "-a_srs" for attaching it. I

Re: [gdal-dev] gdalbuildvrt could not use worldfile

2020-08-20 Thread Idan Miara
Hi, According to gdalinfo your vrt looks fine, so it might be a problem with the vrt support in mapviewer. What are you trying to accomplish with this vrt? if you just want to georeference your tif you could try: gdal_translate -of GTiff input.tif ouput.tif use "-co COMPRESS=DEFLATE -co TILED=YES

[gdal-dev] gdalbuildvrt could not use worldfile

2020-08-20 Thread APM
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.27 0.00 0.00 -1.27 376279.10 5679613.91 If I try to build the .vrt by using gdalb