geopandas / pyogrio

Vectorized vector I/O using OGR
https://pyogrio.readthedocs.io
MIT License
259 stars 22 forks source link

BUG: Handle negative skip_features #309

Open brendan-ward opened 9 months ago

brendan-ward commented 9 months ago

Negative values of skip_features results in skipping all records, which is not intuitive.

We need to decide if we want to raise an error when skip_features is a negative value, or if we want to interpret it as a negative slice.

The variable name doesn't lend itself nicely to implying negative slicing compared to something like start_index.

Crossref geopandas #3039