Re: [gdal-dev] Modify original ColorTable in VRT & TIFF files

2021-04-23 Thread Hotmail
ed -i -e '/VRTRasterBand dataType="Byte" band="1"/r >> orig_colortable_vrt.txt' image_6.vrt >> >> Remove a certain line that contains "NoDataValue" >> >> sed -i -e '/NoDataValue/d' image_6.vrt >> >> There a also a sed

[gdal-dev] Modify original ColorTable in VRT & TIFF files

2021-04-22 Thread Hotmail
Hi all, I'm looking to modify the original ColorTable, when georeferencing, PNG => gdal_translate + gdalwarp => TIFF. > gdal_translate -of VRT -a_srs EPSG:4326 file_png file_vrt -a_ullr > gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 file_vrt file_tiff If I open the VRT file and do the edit

[gdal-dev] Merging TIFF files creates offset / deformation

2021-04-08 Thread Hotmail
Hi, I have a PNG library (524288 tiles of 256px * 256px) which I georeferenced via GDAL. # This first part works correctly. • ullr: > ulx = (360 * (column / 1024)) - 180 > uly = 90 - (180 * (line / 512)) > lrx = ulx + 0.3515625 > lry = uly - 0.3515625 > ULLR = ulx + '' + uly + '' + lrx + '' +

[gdal-dev] Merging TIFF files creates offset / deformation

2021-04-07 Thread Hotmail
Hi, I have a PNG library (524288 tiles of 256px * 256px) which I georeferenced via GDAL. # This first part works correctly. • ullr: > ulx = (360 * (column / 1024)) - 180 > uly = 90 - (180 * (line / 512)) > lrx = ulx + 0.3515625 > lry = uly - 0.3515625 > ULLR = ulx + '' + uly + '' + lrx + '' +

Re: [gdal-dev] Errors with gdalwarp in reprojection

2021-03-29 Thread Hotmail
Thanks a lot, I understand better why I saw an 89.5 in the notes ... ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Errors with gdalwarp in reprojection

2021-03-29 Thread Hotmail
Hi, From a png file library (524288 tiles of 256x256px), I georeference them using gdal_translate like this : => gdal_translate -of VRT -a_srs EPSG: 4326 -a_nodata 255 PATH / FILE.png PATH / FILE.vrt -a_ullr ULLR Then I use gdalwarp to reproject them like this : => gdalwarp -overwrite -s_srs