NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1903 most downloaded on PyPI
Fiona reads and writes spatial data files
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 5 months
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
117 releases · first in 2011
Switch logger warn() (deprecated) calls to warning().
Bug fixes:
warn() (deprecated) calls to warning().PROJ_LIB to a non-existent directory (#439).Fall back to share/proj for PROJ_LIB (#440).
Bug fixes:
share/proj for PROJ_LIB (#440).OSRDestroySpatialReference() with OSRRelease(),
fixing the GPKG driver crasher reported in #441 (#443).DriverIOError derived from IOError to use for driver-specific
errors such as the GeoJSON driver's refusal to overwrite existing files.
Also we now ensure that when this error is raised by fiona.open() any
created read or write session is deleted, this eliminates spurious
exceptions on teardown of broken Collection objects (#437, #444).One column per quarter.
Opening a data file in read (the default) mode with fiona.open() using the the driver or drivers keyword arguments (to specify certain format drivers)
Bug fixes:
fiona.open() using the
the driver or drivers keyword arguments (to specify certain format
drivers) would sometimes cause a crash on Windows due to improperly
terminated lists of strings (#428). The fix: Fiona's buggy string_list()
has been replaced by GDAL's CSLAddString().OGR's EsriJSON detection fails when certain keys aren't found in the first 6000 bytes of data passed to BytesCollection (#422). A .json file extension
Bug fixes:
BytesCollection (#422). A .json file extension
is now explicitly given to the in-memory file behind BytesCollection when
the driver='GeoJSON' keyword argument is given (#423).Roses are red. Tan is a pug. Software regression's the most embarrassing bug.
Roses are red. Tan is a pug. Software regression's the most embarrassing bug.
Bug fixes:
It will be removed in Fiona 2.0. Please check for usage of this deprecated feature by running your tests or programs with PYTHONWARNINGS="always:::fio…
Future Deprecation:
Collection.__next__() is buggy in that it can lead to duplication of
features when used in combination with Collection.filter() or
Collection.__iter__(). It will be removed in Fiona 2.0. Please check for
usage of this deprecated feature by running your tests or programs with
PYTHONWARNINGS="always:::fiona" or -W"always:::fiona" and switch from
next(collection) to next(iter(collection)) (#301).Bug fix:
BytesCollection (#318).New binary wheels using version 1.2.0 of sgillies/frs-wheel-builds. See https://github.com/sgillies/frs-wheel-builds/blob/master/CHANGES.txt.
Prevent Fiona from stumbling over 'Z', 'M', and 'ZM' geometry types introduced in GDAL 2.1 (#384). Fiona 1.7.1 doesn't add explicit support for these
Bug Fixes:
UnsupportedGeometryTypeError when a bogus or unsupported
geometry type is encountered in a new collection's schema or elsewhere
(#340).--precision 0 for fio-cat (#370).None (#385)--gdalversion indicate
a GDAL C API version when running setup.py (#364).Packaging: define extension modules for 'clean' and 'config' targets (#363).
Packaging: define extension modules for 'clean' and 'config' targets (#363).
Packaging: No files are copied for the 'clean' setup target (#361, #362).
Packaging: No files are copied for the 'clean' setup target (#361, #362).
The C extension modules in this library can now be built and used with either a 1.x or 2.x release of the GDAL library. Big thanks to René Buffat for
The C extension modules in this library can now be built and used with either a 1.x or 2.x release of the GDAL library. Big thanks to René Buffat for leading this effort.
Refactoring:
ogrext1.pyx and ogrext2.pyx files now use separate
C APIs defined in ogrext1.pxd and ogrex2.pxd. The other extension
modules have been refactored so that they do not depend on either of these
modules and use subsets of the GDAL/OGR API compatible with both GDAL 1.x and
2.x (#359).Packaging:
ogrext extension module. The ogrext1.c file will be used with GDAL 1.x
and the ogrext2.c file will be used with GDAL 2.x.Raise ImportError if the active GDAL library version is >= 2.0 instead of failing unpredictably (#338, #341). Support for GDAL>=2.0 is coming in Fiona
No changes to the library in this post-release version, but there is a significant change to the distributions on PyPI: to help make Fiona more compat
Daytime has been decreasing in the Northern Hemisphere, but is now increasing again as it should.
Providing only PROJ4 representations in the dataset meta property resulted in loss of CRS information when using the fiona.open(..., src.meta) as dst
fiona.open(..., **src.meta) as dst
pattern (#265). This bug has been addressed by adding a crs_wkt item to themeta property and extending thefiona.open()` and the collection constructor
to look for and prioritize this keyword argument.Bug fix: Fiona now deserializes JSON-encoded string properties provided by the OGR GeoJSON driver (#244, #245, #246).
Special thanks to WFMU DJ Liz Berg for the awesome playlist that's fueling my release sprint. Check it out at https://wfmu.org/playlists/shows/62083. You can't unhear Love Coffin.
Upgrade Cython requirement to 0.22 (#214).
Restore test data to sdists by fixing MANIFEST.in (#216).
Finalize GeoJSON feature sequence options (#174).
Add missing crs_wkt property as in Rasterio (#182).
Fix setting of CRS from EPSG codes (#149).
Handle 3D coordinates in bounds() #178.
Add --bbox option to fio-cat (#163).
Fix accidental requirement on GDAL 1.11 introduced in 1.4.3 (#164).
Add support for geopackage format (#160).
--dst-crs and --src-crs options for fio cat and collect (#159).
Fix encoding bug in collection's __getitem__ (#153).
Add fio cat and fio collect commands (#150).
Add single metadata item accessors to fio inf (#142).
Always show property width and precision in schema (#123).
Implement Collection __getitem__() (#112).
Addition of cpl_errs context manager (#108).
Convert 'long' in schemas to 'int' (#101).
Always register all GDAL and OGR drivers when entering the DriverManager context (#80, #92).
Remove collection slice left in dumpgj (#88).
Add an interactive file inspector like the one in rasterio.
Use a context manager to manage drivers (#78), a backwards compatible but big change. Fiona is now compatible with rasterio and plays better with the
Fix serialization of +init projections (#69).
Smarter, better test setup (#65, #66, #67).
Allow ordering of written fields and preservation of field order when reading (#57).
Allow UTF-8 encoded paths for Python 2 (#51). For Python 3, paths must always be str, never bytes.
Add listlayers, open, prop_width to __init__py:__all__.
Add support for writing layers to multi-layer files.
Get and set numeric field widths (#42).
Add option to add JSON-LD in the dumpgj program.
Python 2/3 compatibility in a single package. Pythons 2.6, 2.7, 3.3 now supported.
Fix messed up linking of README in sdist (#39).
Fix broken installation of extension modules (#35).
Add function to get the width of str type properties.
Silence the logger in ogrext.so (can be overridden).
Accessing file metadata (crs, schema, bounds) on never inspected closed files returns None without exceptions.
Replaced .opened attribute with .closed (product of collection() is always opened). Also a __del__() which will close a Collection, but still not to b
Initial timezone-naive support for date, time, and datetime fields. Don't use these field types if you can avoid them. RFC 3339 datetimes in a string
Diagnose and set the driver property of collection in read mode.
Handle the case of undefined crs for disk collections.
Support for collection coordinate reference systems based on Proj4.
Support for reading and writing collections of any geometry type.
Your coding agent can read these notes before it upgrades. Set up the MCP server →