How to filter a table of latitude, longitude coordinates based on a given geographic region in Python?

I have a table of lat, long coordinates. I want to select a subset of them that belong to a defined region on the map. I want to define the region by a polygon. Now my questions are

  1. what is the easiest way to define the region? and
  2. how to filter my table based on the defined region in Python?


Read more here: https://stackoverflow.com/questions/66272155/how-to-filter-a-table-of-latitude-longitude-coordinates-based-on-a-given-geogra

Content Attribution

This content was originally published by Alexander at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: