Chapter 4. Improving the App Search Capabilities
So far, our app is capable of simply searching points that are close to a defined location. In this chapter, we are going to make a huge steep and make our app filter the data by geographic boundaries and by any field in the data.
By the end of this chapter, you will be able to search geocaching points that are inside a given city, state, country, or any boundary defined by you. In addition, you will be able to search points by any of its properties such as difficult levels, name, user, and so on. It will also be possible to combine multiple filters.
In the process, we will see how to work with polygons and how the relations between geometries can be analyzed in a geoprocessing application.
To achieve these goals, we will go through the following topics:
- How to describe polygons using well-known text
- Using the Shapely package to handle geometries
- Importing polygon data
- Importing line data
- The use of base classes and inheritance
- The types...