By showing, in the previous article How to dynamically generate GUI, a world map with time zones illuminated by the sun in real time in which cities are created by geocoding.
Not treated to compete with the many applications of GIS software on the market, but if you can say that use Excel as a tool for geotagging is cheaper and easy and allows you to add geographic information in the metadata of images that are used for georeferencing.
Contribution of this World Time Zones Clocks Map can be categorized within the Volunteered Geographic Information - VGI movement that disseminate geographic information provided voluntarily by people like this map of clocks that can be seen in this video:
On the Cities sheet are obtained these columns:
A - The name of the countries, provinces and cities separated by hyphens.
B - The local time in each city.
C - Time Zones.
Using deconcatenate or split techniques, from data in column A are obtained data in columns:
D - Countries.
E - Provinces.
F - The name of the cities.
With the Name Manager, list of cities is defined: ciudades=Ciudades!$F$3:$F$700
Sheet Coord
This sheet temporarily stores the coordinates of the cities:
Latitude: 38° 30' North
Longitude: 28° 00' West
Next cells contain:
B1 - Latitude in degrees and minutes.
C1 - North or South.
B2 - Longitude in degrees and minutes.
C2 - East or West.
Sheet Clocks
On Clocks sheet two dropdown lists are displayed with data validation into the columns:
R - Select a city.
S - Select a country.
The change event, in any cell in this sheet, executes this routine: Private Sub Worksheet_Change(ByVal Target As Range)
If a city or country changes in columns R and S, this routine is called:
The routine coordCiudad calls CoordWebQuery that connects to the website of the city chosen by reading hyperlink in column A of the Cities sheet and save the coordinates of the city on the Coord sheet.
If the city is not in the list of cities www.timeanddate.com page, call the GetLatLonCiudad (city, country) function that refers to: http://api.wunderground.com/auto/wui/geo/GeoLookupXML/index.xml?query=" & city & "," &country
The result was stripped from special signs with ConvertAccent(result), obtaining the latitude and longitude from an XML document type "MSXML2.DOMDocument"
The treatment of the coordinates is done in columns:
AB - Latitude in degrees and minutes.
AC - Longitude in degrees and minutes.
AD - Latitude decimal = decLat.
AE - Longitude decimal = decLong.
P - X location on the map = (decLong + 180) * 760 / 360-8
Q - Y location on the map = 240 - (decLat - 8) * 360 / 170
These latter formulas are approximate and depend on the size of the map.
And just need to locate and display the city on the map with MuestraCiudad and LocalizaCiudad functions, respectively, but I won't explain that because I like to make you wonder.
How to use XLOOKUP with two sheets?
-
Learn how to use Excel XLOOKUP function with two sheets in this
step-by-step tutorial. Why you may want to use XLOOKUP with two sheets? If
you have data ...
3 Ways To Print Column Headings in Microsoft Excel
-
Today, you’ll learn how to print column headings in Microsoft Excel on
every sheet of paper you print. If you’ve ever printed an Excel spreadsheet
only to ...
Why use the walrus?
-
Continuing posts on new Python features, this one looks at the new walrus
operator, which was introduced in Python 3.8. For a detailed description
see Pyth...
Regresos 15 - Generaciones con cifras y potencias
-
En una entrada antigua de este blog se invitaba a buscar igualdades
similares a la siguiente:
882+332=8833
En aquella ocasión se dio más protagonismo a ...
Todo lo que Debes Saber sobre Excel Moderno
-
La próxima vez que alguien te diga que Excel es solo una hoja de cálculo…
por favor, mándale este video. […]
The post Todo lo que Debes Saber sobre Excel...
Gráficos retro con colores difusos
-
🔝*To translate this blog post to your language, select it in the top left
Google box. *
*¿A quien no le gustan los juegos retro, los juegos clásicos ...
Compare List of Numbers With Excel RANK Function
-
Which student got the top score? If you have test results, or another list
of numbers in Excel, you could sort them to see which scores are at the
top. But...
Cómo hacer gráficos en Excel
-
Excel es una de las herramientas más potentes y versátiles para el análisis
y la presentación de datos. Los gráficos en Excel no solo ayudan a
visualizar...
Análisis DAFO (FODA, DOFA) las decisiones con Excel
-
Para conocer la situación de una empresa, proyecto o persona, recurrimos al
análisis DAFO (FODA, DOFA) en la toma de decisiones con Excel. El los años
sese...
¿Quién ha abierto mi libro de Excel?
-
Basado en la opción de confirmación de lectura que tiene Microsoft Outlook,
te presento una pequeña herramienta que te permitirá averiguar tanto el
usuar...
How To Predict Bearing Life With Excel
-
When you work in mechanical engineering, understanding the reliability and
performance of bearings under various conditions is crucial. Bearings are
the co...
TikTok’s search evolution
-
2 in 5 Americans use TikTok as a search engine. Nearly 1 in 10 Gen Zers are
more likely to rely on TikTok than Google as a search engine. More than
half of...
Unblocking and Enabling Macros
-
When Windows detects that a file has come from a computer other than the
one you're using, it marks the file as coming from the web, and blocks the
file....
Office Scripts: Trabajando con Tablas
-
[image: Office Scripts: Trabajando con Tablas]
Me he dado cuenta que últimamente solo escribo de lenguaje M (es mi pequeño
vicio)... pero hay que liberar l...
La importancia de saber mecanografía en 2022
-
[image: Resultado de imagen de mecanografía viñeta escribiendo a máquina]
Según la RAE, la mecanografía es el arte de escribir a máquina. Hace unos
cuantos...
London Excel Meetup Workbooks
-
The workbooks used in my presentation on “Analytical and Interactive
Dashboards in Excel” at the London Excel Meetup, September 3, 2020
Agenda Perpetua Excel Calendario Perpetuo
-
Saludos a los ingenieros y a todos los que forman parte de nuestra
comunidad de planillas Excel para ingeniería civil, ya se vienen las
fiestas navideñas y...
International Keyboard Shortcut Day 2019
-
The first Wednesday of every November is International Keyboard Shortcut
Day. This Wednesday, people from all over the world will become far less
efficient...
Welcome, Prashanth!
-
Last March, I shared that we were starting to look for a new CEO for Stack
Overflow. We were looking for that rare combination of someone who… Read
more "W...
Salvador Sostres, analfabeto profesional
-
Los nuevos tiempos traen nuevas profesiones. Internet, además, ha
revolucionado el mundo del periodismo y la palabra escrita. Adaptarse o
morir, ese es el ...
Planificación de compras
-
Realizar una lista con los productos que necesitamos y que formarán parte
de nuestra cesta de la compra nos ayuda a *encontrar la combinación de
bienes p...
Mis metas son seguir superando nuevos retos en Excel y compartirlos en mi blog, para sacarle todo el poder a esta excelente herramienta multiusos, tan usada y a la vez tan incomprendida, para así poder mejorar nuestros conocimientos de Excel.
No Response to "Geocoding the World Clock Map"
Leave A Reply
Comenta este artículo, critícalo o avisa si detectas algún error que haya que corregir.