Shapely is a Python library installed in all EarthAI Notebook instances.
Shapely handles processing and manipulating vector data. The following is an excerpt from Shapely's documentation describing what this library does.
Shapely is a Python package for set-theoretic analysis and manipulation of planar features using (via Python’s
ctypes module) functions from the well known and widely deployed GEOS library. GEOS, a port of the Java Topology Suite (JTS), is the geometry engine of the PostGIS spatial extension for the PostgreSQL RDBMS. The designs of JTS and GEOS are largely guided by the Open Geospatial Consortium’s Simple Features Access Specification 1 and Shapely adheres mainly to the same set of standard classes and operations. Shapely is thereby deeply rooted in the conventions of the geographic information systems (GIS) world, but aspires to be equally useful to programmers working on non-conventional problems. Shapely is not concerned with data formats or coordinate systems, but can be readily integrated with packages that are.
Follow this link to view Shapely documentation.