{ "function": "crosses", "description": "Tests whether a geometry crosses another. Returns true if the supplied geometries have some, but not all, interior points in common.", "arguments": [ {"arg":"geometry a","description":"a geometry"}, {"arg":"geometry b","description":"a geometry"}], "examples": [ { "expression":"crosses( geom_from_wkt( 'LINESTRING(3 5, 4 4, 5 3)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"true"}, { "expression":"crosses( geom_from_wkt( 'POINT(4 5)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"false"} ] }