Benjamin_Obe
New member
Hi all,
I AM new to programming. I have Corine Land use dataset.Can anyone please advise on the easiest method to convert it to geogrid binary format;
I have since tried gdal in python with syntax error.
gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
File "<stdin>", line 1
gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
^
SyntaxError: invalid syntax
>>> fn=r'C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif'
>>> gdal_translate -of ENVI fn data.bil
File "<stdin>", line 1
gdal_translate -of ENVI fn data.bil
^
SyntaxError: invalid syntax
>>> gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
File "<stdin>", line 1
gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
^
SyntaxError: invalid syntax
perhaps my script is wrong.
any advice will be appreciated..thanks
I AM new to programming. I have Corine Land use dataset.Can anyone please advise on the easiest method to convert it to geogrid binary format;
I have since tried gdal in python with syntax error.
gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
File "<stdin>", line 1
gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
^
SyntaxError: invalid syntax
>>> fn=r'C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif'
>>> gdal_translate -of ENVI fn data.bil
File "<stdin>", line 1
gdal_translate -of ENVI fn data.bil
^
SyntaxError: invalid syntax
>>> gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
File "<stdin>", line 1
gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
^
SyntaxError: invalid syntax
perhaps my script is wrong.
any advice will be appreciated..thanks