Topological relationships are implemented as methods on geometric objects (for example, contains, touches, and more). Shapely also provides analysis methods that return new geometric objects (intersections, unions, and more). Creative use of the buffering method provides ways to clean shapes. Interoperation with other software is provided through well-known formats (WKT and WKB), NumPy + Python arrays, and the Python Geo Interface.