I'm trying to do something that I don't know is possible in gdalGDAL/Python.
I have a list, L, of pre-defined lat/long points that make up a uniform grid.
A user will send me a set of points that make up the vertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon vertices, but it will likely not exceed 10 or so.
I would like to:
- Create a polygon, P, based on the user-defined vertices.
- Find the lat/long points in L that intersect polygon P.
Is this possible? I don't normally work with vectors in gdalGDAL, so I'm not familiar with the best way to do this.