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
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
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 + '' +
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 + '' +
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
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