I am a beginner with GIS data, and have been looking for an answer but have not yet found it.
I have a spreadsheet with lat/long points. I also have a shapefile with several numbered polygons over a geographical area. I would like to do the following:
- For each row in the spreadsheet (lat/long point) determine which polygon it is within
- Update the spreadsheet (or generate a new spreadsheet/shapefile/etc.) with each row having its polygon number in a new column.
I suspect I could possibly use ogr2ogr to do this, or possibly write some Python code to do it, but I really don't even know where to start.