Find city names from coordinates (latitudes and longitudes)

Опубликовано: 18 Апрель 2026
на канале: Wins with Data
857
4

Find and identify city name and other geographical information such as province or state, (for Canada Census Division, Census Sub-Division, Metropolitan Area, etc.) based coordinates or latitudes and longitudes data.

Applying reverse-geocoding free of charge using an appropriate shapefile (including polygons data) in Python. Let's say you have some geographical coordinates in your data (latitudes and longitudes). The questions is how to identify the city name, province name or other geographical levels depending on which country or regions we are looking at. This creates a nice consistent location identification in your data. In this tutorial, I use the shapefile polygons from Statistics Canada - Census boundary files.

In the case of Canada and this shapefile, there are geographical information related to Census Division, Census SubDivision, Census Metropolitan Area, Economic Region, Province, among some other levels. We are going to identify all these information using coordinates data.

• For python related tutorials, see this playlist of video tutorials:    • Playlist  
• For GIS/Spatial/Map related tutorials, see this playlist of video tutorials:    • How to determine two points distance withi...  

Related links for this video:
• a complementary blog with step-by-step tutorial, for more clarification on this video: https://winswithdata.com/?p=314
• code script template solution is available in this blog page.


Please like this video and subscribe to the channel for more tutorial videos, particularly with a focus on:
• to provide ready-to-execute solutions to achieve data goals of professionals regardless of your previous knowledge on technical background of programming and data.
• a series of data and business insight from the perspective of an economist and applied data scientist in industry for those interested in the "under the hood" of the data related topics.


About me:
I am Dimo, an economist with a data science focus in industry. I am sharing my productivity, tech-solution, data visualization and analysis experiences, statistical - econometrics - machine learning interpretations in format of how-to tutorials in this channel.


My Social Media Links & Profiles:
Facebook:   / winswithdata  
Twitter:   / winswithdata  
Youtube:    / @winswithdata  
Web blog: http://winswithdata.com/
Dailymotion: https://www.dailymotion.com/winswithdata
DTube: https://d.tube/c/winswithdata100

Credit
Music: