Check if a coordinate point are lies in certain box area python [duplicate]
问题 This question already has an answer here : Python Test If Point is in Rectangle (1 answer) Closed 2 years ago . I have a coordinate point of a place, for example: point_coord = [-7.7938593,110.3634829] I also have a viewport of an area contain two point of corrdinates, for example: northeast = [5.9052479,141.0194444] southwest = [-11.005261,95.01106190000002] If I illustrate these point, it will be look like this: The question is, how do I check if the point_coord is fall or lies in somewhere