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


In this chapter, we explored introductory concepts about code efficiency and how to measure it. Equipped with the right tools, we optimized our code to make it run faster.

Instead of storing data into Python objects, we turned to SQL databases. We thereby enhanced our app with state-of-the-art filtering and got information in an efficient way.

Later, we came across a large amount of data that was impossible to import with ordinary computers. We optimized our code again, making it memory-efficient and stable, allowing us to import this data. Finally, we queried the data, testing the new feature capabilities.

In the next chapter, we will face similar speed and memory problems but with images (raster) data. This will require us to develop new and creative solutions.