Chapter 2. The Geocaching App
In this chapter, we will build a geocaching app that will initially get geocache points from the Internet and return the coordinates and information on the point closest to a user's location.
We will go through some of the most important steps in every geoprocessing application: we will discuss opening files, reading information, preparing data for analysis, and performing calculations with each object in your data. To achieve this, you will learn how to organize your code with Python and use the resources provided by the language to write consistent applications.
In this chapter, we will start to make use of classes, methods, functions, decorators, and exception handling, which will help us build an application with reusable components and clean code. Don't worry if these terms are new to you; they will be explained in the examples. In short, here's what we will cover:
- Programming the basic application structures
- Downloading geocaching...