[Python] 判断某点是否在指定区域内(矩形)

flag = (lat_lower<=coords[0]<=lat_upper&lon_right<=coords[1]<=lon_left)

你可能感兴趣的:([Python] 判断某点是否在指定区域内(矩形))