Category: Scripting and programming

Scripts and snippets of python and other languages which you can try

Create KML file by extracting coordinates from DOCX file

It’s been a while since I am writing again. This is not a very interesting topic to create a post with. I use to receive coordinates and name of locations from field staffs of different part of the country. I use to plot these locations over maps and create some reports. Pretty boring stuff! Most of the time these locations are neatly stuffed inside Microsoft word file, commonly in DOCX or XLS files. But recently they sent me 10 similar DOCX file with 128 locations listed. And I am going to create KML file with each of them using Python. Continue reading

Making use of GDAL, RSGISLib and OTB with Python

Today getting a good raster processing environment is not so difficult. The computers are cheaper, storage components are bigger and prices are lower than any time before. Internet is full of tutorials and tips for people who want to start building their own remote sensing lab. This post will reintroduce three most common open-source raster and vector processing libraries which anyone can use – GDAL, RSGISLib Python library and Orfeo Toolbox. Continue reading

Pages: 1 2