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.
PLEASE UPDATE THE RSS FEED
-
The RSS feed URL you're currently using
https://follow.it/excel-foro-ejercicios-ejemplos-soluciones-dudas will stop
working shortly. Please add /rss at t...
PLEASE UPDATE THE RSS FEED
-
[image: PLEASE UPDATE THE RSS FEED]
The RSS feed URL you're currently using https://follow.it/jldexcelsp will
stop working shortly. Please add /rss at the...
Excel Dependent Drop Down Lists – Block Changes
-
One of my favourite Excel features is a data validation drop down list. In
just a couple of minutes, you can make a list of items, then make that list
appe...
Hipotenusas de cuaternas pitagóricas
-
Una cuaterna pitagórica es la expresión algebraica del teorema de Pitágoras
en tres dimensiones, es decir, un conjunto de cuatro números enteros
positivo...
Excel Power Query: Obtener y transformar
-
Iconos más importantes de Obtener y transformar de Excel 2016: Obtener y
transformar (Power Query) de Yolanda Cuesta Altieri Excel Power Query:
Obtener y...
Let, Lambda, and py_Eval
-
I have covered the new Excel Let and Lambda functions before at: Two New
Functions; Let and Lambda Eval and Let examples Lambda and VBA The Lambda
function...
Avoid These Power Query Pitfalls with Simple Steps
-
Power Query is an extremely powerful tool for efficient data analysis and
decision-making processes. However, even the most experienced among us can
someti...
Conversor PGN de ajedrez mejorado
-
🔝*Select the language of this blog post in the Google box at the top left.
*
Esta es la *4ª versión del Conversor PGN de ajedrez* que hago, cada uno ...
What's New in Excel (March 2024)
-
Welcome to our March 2024 update.
This month, export to CSV and show details in PivotTables are now available
in Excel for the web. Also, creating Power...
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...
Interés compuesto con Excel
-
En la imagen, se presenta un esquema de las distintas funciones Excel para
calcular el valor del dinero en el tiempo mediante la capitalización
compuesta...
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....
-
Aprendiendo Unreal Engine 5. ¿Por dónde empiezo?
Desde la presentación de la Comunidad Oficial de desarrolladores de Unreal
Engine de Málaga, he recibido m...
Navigating Outlook Favorites
-
I have these four favorites defined in Outlook: From the inbox, I could hit
Shift+F6 to get into the Favorites area but sometimes I would end up in no
man’...
Progress on the Block Protocol
-
Since the 1990s, the web has been a publishing place for human-readable
documents. Documents published on the web are in HTML. HTML has a little
bit of… Re...
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
Dimensiones-Propiedades de perfiles de acero (IMCA)
-
Saludos compañeros, en esta oportunidad compartimos esta Planilla Excel que
contiene las Propiedades y dimensiones de diferentes tipos de perfiles de
acero...
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
Dime si te gusta lo que lees y, si no te gusta, dime por qué. Tengo habilitada la moderación de comentarios. Tu comentario se publicará pronto.