Dowemo

In order to splice images ( larger than a few g ), the python version of remote sensing image library is studied.

First is installed,


sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable


sudo apt update 


sudo apt upgrade


sudo apt install gdal-bin python-gdal python3-gdal





Next, use the tutorial, and refer to: Http://www. Osgeo. cn/python_gdal_utah_tutorial/ch01. Html.

Puzzle steps:

A name type that creates the driver

Second, create a driver

Three, read band

Four, write writeArray data

Five, keep cache, write to hard disk

Six, clean the application driver

Split code:

Https://github. com/ClearLee1018/gdal_read_images/blob/master/convertTM2Tiff. Py.




Copyright © 2011 Dowemo All rights reserved.    Creative Commons   AboutUs