- Auto-discovery of
GDAL_VERSION
on Windows, ifgdalinfo.exe
is discoverable on thePATH
. - Addition of
read_bounds
function to read the bounds of each feature. - Addition of a
fids
keyword toread
andread_dataframe
to selectively read features based on a list of the FIDs.
- initial support for building on Windows.
- Windows: enabled search for GDAL dll directory for Python >= 3.8.
- Addition of
where
parameter toread
andread_dataframe
to enable GDAL-compatible SQL WHERE queries to filter data sources. - Addition of
force_2d
parameter toread
andread_dataframe
to force coordinates to always be returned as 2 dimensional, dropping the 3rd dimension if present. - Addition of
bbox
parameter toread
andread_dataframe
to select only the features in the dataset that intersect the bbox. - Addition of
set_gdal_config_options
to set GDAL configuration options andget_gdal_config_option
to get a GDAL configuration option. - Addition of
pyogrio.__gdal_version__
attribute to return GDAL version tuple and__gdal_version_string__
to return string version. - Addition of
list_drivers
function to list all available GDAL drivers. - Addition of read and write support for
FlatGeobuf
driver when available in GDAL.
- Addition of
list_layers
to list layers in a data source. - Addition of
read_info
to read basic information for a layer. - Addition of
read_dataframe
to read from supported file formats (Shapefile, GeoPackage, GeoJSON) into GeoDataFrames. - Addition of
write_dataframe
to write GeoDataFrames into supported file formats.