def parse_latlong_string(coord): parts = coord.split() # Add error handling here if necessary d = int(parts[0]) m = int(parts[1]) s = float(parts[2]) hemisphere = parts[3] if hemisphere.upper() not in ('NSWE'): raise ValueError('Unknown hemishpere') dd = d + m/60 + s/3600 return dd
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.