In a groundbreaking talk at PyCon DE & PyData 2025, Joris Van den Bossche introduced support for spherical geometries in Spherely and GeoPandas, challenging the long-standing flat world assumption in geospatial data analysis.
For decades, tools like GeoPandas have treated the Earth as flat, using planar geometry for calculations, which introduces significant errors at large scales or near the poles. The new spherical geometry capabilities allow for accurate distance, area, and intersection computations on a globe, making GeoPandas more suitable for global datasets.
The project, called Spherely, integrates directly with GeoPandas and provides a seamless API for handling geographic data on a sphere. This development is a major step forward for the Python geospatial ecosystem, enabling more precise analysis for applications such as climate modeling, logistics, and global mapping.
Van den Bossche demonstrated how spherical geometry can be used with familiar GeoPandas operations, ensuring a smooth transition for existing users. The talk highlighted practical examples where flat-planar assumptions break down and showed how Spherely avoids these pitfalls.
This announcement marks a pivotal moment for geospatial computing in Python, bringing it closer to the standards of professional GIS software. Developers and data scientists can now leverage accurate global geometric operations directly in their GeoPandas workflows.
For more details, the full talk is available on the PyDataTV YouTube channel.