GeospatialPython / pyshp

This library reads and writes ESRI Shapefiles in pure Python.
MIT License
1.09k stars 259 forks source link

Add spatial filtering for single points #259

Closed lgolston closed 7 months ago

lgolston commented 1 year ago

Investigating #258, I confirmed that single points where not being filtered using the bbox parameter. This is added here by duplicating the coordinates of the point to allow for comparison against bbox. A statement from the manual is also updated (since records and iterRecords methods do not allow spatial filtering).