Book Image

Geospatial Development By Example with Python

By : Pablo Carreira
5 (1)
Book Image

Geospatial Development By Example with Python

5 (1)
By: Pablo Carreira

Overview of this book

From Python programming good practices to the advanced use of analysis packages, this book teaches you how to write applications that will perform complex geoprocessing tasks that can be replicated and reused. Much more than simple scripts, you will write functions to import data, create Python classes that represent your features, and learn how to combine and filter them. With pluggable mechanisms, you will learn how to visualize data and the results of analysis in beautiful maps that can be batch-generated and embedded into documents or web pages. Finally, you will learn how to consume and process an enormous amount of data very efficiently by using advanced tools and modern computers’ parallel processing capabilities.
Table of Contents (17 chapters)
Geospatial Development By Example with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


As we did with the points of interest, we managed the problem of excessive computational resource consumption by splitting the load into pieces. Specifically, instead of reading and processing whole images, we created Python iterators that allowed us to iterate through these images one row at a time without hitting the memory limit of the computer.

With this technique, we were able to process three Landsat 8 bands at a time to produce fancy colored images valuable for data visualization.

At this point, we are able to split our processing tasks into pieces that can be processed independently. We can do this with vectors, with database access, and now, with images as well.

With this, we completely paved the road for the next chapter, where we will be sending each of these pieces to be calculated at the same time by a different processor core performing the so-called parallel processing.