# ibis.expr.api.GeoSpatialValue.max_distance¶

GeoSpatialValue.max_distance(right)

Returns the 2-dimensional maximum distance between two geometries in projected units. If g1 and g2 is the same geometry the function will return the distance between the two vertices most far from each other in that geometry

Parameters
• left (geometry) –

• right (geometry) –

Returns

MaxDistance

Return type

double scalar