ZnJvbSBweXByb2ogaW1wb3J0IFByb2osIHRyYW5zZm9ybQoKIyDguJXguLHguYnguIfguITguYjguLLguYLguIvguJkgVVRNIDQ3Tgp1dG1fcHJvaiA9IFByb2oocHJvaj0ndXRtJywgem9uZT00NywgZWxscHM9J1dHUzg0JykKCiMg4Lie4Li04LiB4Lix4LiUIFVUTSDguJfguLXguYjguYPguKvguYnguKHguLIKdXRtX2Nvb3JkcyA9IFsKICAgICg1NDI3OTQsIDkzNTcwNiksICAjIEEKICAgICg1NDI4ODYsIDkzNTcxOCksICAjIEIKICAgICg1NDI3NjgsIDkzNTczMyksICAjIEMKICAgICg1NDI3NjIsIDkzNTc4NiksICAjIEQKICAgICg1NDI4NTMsIDkzNTY4MyksICAjIEUKICAgICg1NDI3MjQsIDkzNTY4MCkgICAjIEYKXQoKIyDguYHguJvguKXguIfguJfguLjguIHguJ7guLTguIHguLHguJTguIjguLLguIEgVVRNIOC5gOC4m+C5h+C4mSBHUFMgKOC4peC4sOC4leC4tOC4iOC4ueC4lCwg4Lil4Lit4LiH4LiI4Li04LiI4Li54LiUKQpncHNfY29vcmRzID0gW10KZm9yIHV0bV94LCB1dG1feSBpbiB1dG1fY29vcmRzOgogICAgbG9uLCBsYXQgPSB0cmFuc2Zvcm0odXRtX3Byb2osIFByb2oocHJvaj0nbGF0bG9uZycsIGRhdHVtPSdXR1M4NCcpLCB1dG1feCwgdXRtX3kpCiAgICBncHNfY29vcmRzLmFwcGVuZCgobGF0LCBsb24pKQoKcHJpbnQoZ3BzX2Nvb3JkcykK
from pyproj import Proj, transform
# ตั้งค่าโซน UTM 47N
utm_proj = Proj(proj='utm', zone=47, ellps='WGS84')
# พิกัด UTM ที่ให้มา
utm_coords = [
(542794, 935706), # A
(542886, 935718), # B
(542768, 935733), # C
(542762, 935786), # D
(542853, 935683), # E
(542724, 935680) # F
]
# แปลงทุกพิกัดจาก UTM เป็น GPS (ละติจูด, ลองจิจูด)
gps_coords = []
for utm_x, utm_y in utm_coords:
lon, lat = transform(utm_proj, Proj(proj='latlong', datum='WGS84'), utm_x, utm_y)
gps_coords.append((lat, lon))
print(gps_coords)