Simple code project in Python GIS tutorial

Use-Case:
I wanted to create consistency and customization in how geographical units such as city is defined in my data. I have a set of observation with their address coordinates within different cities and states/provinces. Based on the use-case, we decided to defined city label in this data based on being located within a radius of 50 km from city centers in the data. Here’s is a practical code piece doing this job.
The video tutorial, complementing this blog, can be seen here:
Step1 Initial Settings
We add the necessary packages here and also connect the python code to google sheets where the sample data on coordinates exist there.
- For reading data from google sheets refer to this video tutorial: https://youtu.be/hn4sFxcxDbI
- For Spatial/GIS/Map related tutorials, see this playlist of video tutorials: https://www.youtube.com/playlist?list=PL_b86y-oyLzC52Hn6GuKC5DpdjKrqiOQo

Read input data from google sheets:
Dateset 1: called coords data. This is a sample of coordinates latitudes and longitudes that we want to specify whether they exist in a specific radius of X kilo-meters or miles from specific reference points such as center downtowns of some cities Dataset 2: called reference data. This is the set of reference points

Step2: overview the data and data cleaning fixes if needed

Step3: define the main function
Identifying whether a given point exist in a specific R distance from a reference point



last step save the data in a google sheet tab

Great post but I was wanting to know if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Cheers!