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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.