I have a problem which draws my back in some project for some time now. I’m basically looking to trap a polygon using x, y points drawn by some script I’ve written. lat, lon are the center GPS cords of the polygon and I’m looking for its surrounding polygon. here is a part of my code in python: my input