Summary

In this chapter, we saw that the different types of relationships between geometries can be tested, and that these tests can be used in the program to solve problems.

In order to filter by polygons, first we used the same code to import these polygons into the system like we did with the points, but this time we used Shapely to abstract the geometries of the polygons and points. Finally, we used geometry relationships to search for points inside the polygons.

Then, we implemented a way to filter the data by the name property and we made it filter the data by any property of the object or any combination of properties.

Finally, we adapted the app class to work with the new changes and saw that it's possible to add convenience methods to it in order to simplify some tasks.

In the next chapter, we will start working on the Map Maker App and create means to visualize our data.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.9.148