<font size=2 face="sans-serif">Related to the post below.</font>
<br>
<br><font size=2 face="sans-serif">Unicode CLDR defines locale identifiers
based on BCP47 language tag (</font><a href=http://www.ietf.org/rfc/bcp/bcp47.txt><font size=2 face="sans-serif">http://www.ietf.org/rfc/bcp/bcp47.txt</font></a><font size=2 face="sans-serif">)</font>
<br><font size=2 face="sans-serif">BCP47 provides a mechanism for extending
language tags for use in various applications.</font>
<br>
<br><font size=2 face="sans-serif">We recently published RFC6067 (</font><a href=http://datatracker.ietf.org/doc/rfc6067/><font size=2 face="sans-serif">http://datatracker.ietf.org/doc/rfc6067/</font></a><font size=2 face="sans-serif">)
to allocate BCP47 extension letter &quot;u&quot; for the use of Unicode
Locale Identifiers. Unicode Locale Identifier has its own subtag for specifying
time zone IDs. Unfortunately, zone IDs in the tz database cannot be used
in language tag because each subtag in extension must be 2 to 8 alpha/numeric
characters. For this reason, we defined &quot;short ID&quot; for zones
based on UN/LOCODE [</font><a href=http://www.unece.org/cefact/locode/><font size=2 face="sans-serif">http://www.unece.org/cefact/locode/</font></a><font size=2 face="sans-serif">].
Most of exemplar cities by the tz database are covered by LOCODE, with
small exceptions.</font>
<br>
<br><font size=2 face="sans-serif">For example, zone &quot;America/New_York&quot;
is represented by &quot;usnyc&quot;. The mapping data is provided in the
file - </font><a href=http://www.unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml><font size=2 face="sans-serif">http://www.unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml</font></a>
<br>
<br><font size=2 face="sans-serif">With the extension, you can exchange
locale data including time zone information with a language tag - for example,
&quot;en-US-u-tz-usnyc&quot;</font>
<br>
<br><font size=2 face="sans-serif">I'm wondering if zone.tab can include
LOCODE - for example, LOCODE consist from ISO3166 2-letter country code
+ 3-letter location code.</font>
<br>
<br><font size=2 face="sans-serif">#locode &nbsp; &nbsp; &nbsp; &nbsp;coordinates
&nbsp; &nbsp; &nbsp; &nbsp;TZ &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;comments</font>
<br><font size=2 face="sans-serif">AD ALV &nbsp; &nbsp; &nbsp; &nbsp;+4230+00131
&nbsp; &nbsp; &nbsp; &nbsp;Europe/Andorra</font>
<br><font size=2 face="sans-serif">AE DXB &nbsp; &nbsp; &nbsp; &nbsp;+2518+05518
&nbsp; &nbsp; &nbsp; &nbsp;Asia/Dubai</font>
<br><font size=2 face="sans-serif">AF KBL &nbsp; &nbsp; &nbsp; &nbsp;+3431+06912
&nbsp; &nbsp; &nbsp; &nbsp;Asia/Kabul</font>
<br><font size=2 face="sans-serif">AG ANU &nbsp; &nbsp; &nbsp; &nbsp;+1703-06148
&nbsp; &nbsp; &nbsp; &nbsp;America/Antigua</font>
<br><font size=2 face="sans-serif">...</font>
<br>
<br><font size=2 face="sans-serif">-Yoshito Umaoka (ICU / CLDR project)</font>
<br>
<br>
<br><tt><font size=2>Hjwoudenberg &lt;hjwoudenberg@aol.com&gt; wrote on
02/03/2011 07:23:00 PM:<br>
<br>
&gt; From: Hjwoudenberg &lt;hjwoudenberg@aol.com&gt;</font></tt>
<br><tt><font size=2>&gt; To: &lt;tz@lecserver.nci.nih.gov&gt;</font></tt>
<br><tt><font size=2>&gt; Date: 02/03/2011 07:30 PM</font></tt>
<br><tt><font size=2>&gt; Subject: RE: lat/lon time offset database</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; For time zones I use ISO 3166 country codes and state codes.</font></tt>
<br><tt><font size=2>&gt; For some states I need a suffix like 'n' &nbsp;or
'w' &nbsp;or 's' or 'e' if <br>
&gt; the state has more than one time zone.</font></tt>
<br><tt><font size=2>&gt; It also can use the IATA city code, the 3 letter
code on your airline luggage.</font></tt>
<br><tt><font size=2>&gt; It contains the time zone rules so each year
it calculates the new <br>
&gt; dates for daylight.</font></tt>
<br><tt><font size=2>&gt; The rules can be updated on demand, when used
first time each year, <br>
&gt; over the Internet. </font></tt>
<br><tt><font size=2>&gt; It also contains the ISO country name, state
name and city name and <br>
&gt; airport name.</font></tt>
<br><tt><font size=2>&gt; Hope fully the lat/lon for states and countries
will someday be <br>
&gt; available even if they approximate coastlines. </font></tt>
<br><tt><font size=2>&gt; These should be a suggestion for the Unicode
</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; </font></tt><a href=http://cldr.unicode.org/><tt><font size=2>http://cldr.unicode.org/</font></tt></a>
<br><tt><font size=2>&gt; CLDR Project</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; The Unicode CLDR provides key building blocks for software to <br>
&gt; support the world's languages, with the largest and most extensive
<br>
&gt; standard repository of locale data available. This data is used by
a<br>
&gt; wide spectrum of companies for their software internationalization
<br>
&gt; and localization, adapting software to the conventions of different
<br>
&gt; languages for such common software tasks as:</font></tt>
<br><tt><font size=2>&gt; formatting of dates, times, and time zones, </font></tt>
<br><tt><font size=2>&gt; formatting numbers and currency values</font></tt>
<br><tt><font size=2>&gt; sorting text</font></tt>
<br><tt><font size=2>&gt; choosing languages or countries by name</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; </font></tt><a href=http://cldr.unicode.org/index/processIntroduction><tt><font size=2>http://cldr.unicode.org/index/processIntroduction</font></tt></a>
<br><tt><font size=2>&gt; This document describes the Unicode CLDR Technical
Committee, and <br>
&gt; its process for data collection, resolution, public feedback and <br>
&gt; release. The process is designed to be light-weight: in particular,
<br>
&gt; the meetings are frequent, short, and informal. Most of the work is
<br>
&gt; by email or phone, with a database recording requested changes in
data.</font></tt>
<br><tt><font size=2>&gt; When gathering data for a region and language,
it is important to <br>
&gt; have multiple sources for that data to produce the most widely <br>
&gt; acceptable data. Initial versions of data were based on the best <br>
&gt; available sources, but CLDR data will be modified and improved, in
<br>
&gt; successive versions, by more input from the contributors inside and
<br>
&gt; outside of the Unicode Consortium.</font></tt>
<br><tt><font size=2>&gt; It is important to note that CLDR is a Repository,
not a <br>
&gt; Registration. That is, contributors should not expect that their <br>
&gt; contributions will simply be adopted into the repository; instead,
<br>
&gt; it will be vetted against the best available information.</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Herman J Woudenberg</font></tt>
<br><tt><font size=2>&gt; -----Original Message-----<br>
&gt; From: Chris Walton &lt;Chris.Walton@telus.com&gt;<br>
&gt; To: tz@elsie.nci.nih.gov &lt;tz@lecserver.nci.nih.gov&gt;; larry.ober
<br>
&gt; &lt;larry.ober@att.net&gt;<br>
&gt; Sent: Thu, Feb 3, 2011 5:37 pm<br>
&gt; Subject: RE: lat/lon to time offset database<br>
</font></tt>
<br><tt><font size=2>&gt; Larry,</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Just so you know that it is possible… some of
the newer GPS units on<br>
&gt; the market today are capable of automatically determining the local
time zone.</font></tt>
<br><tt><font size=2>&gt; This is achieved with proprietary time zone maps
that are installed <br>
&gt; inside the GPS at the factory.</font></tt>
<br><tt><font size=2>&gt; Newer versions of the maps are bundled inside
firmware images so <br>
&gt; that you automatically get the latest map when you upgrade the <br>
&gt; firmware on your GPS.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; If these built in time zone maps are not accurate
(or if you find <br>
&gt; yourself in an area with disputed time zones), it is possible to <br>
&gt; turn off automatic mode and then manually enter the time zone of <br>
&gt; your choosing.</font></tt>
<br><tt><font size=2>&gt; A Google search reveals that one of the GPS manufacturers
stores its<br>
&gt; time zone data in a file that is approximately 600kB.</font></tt>
<br><tt><font size=2>&gt; I think we can assume that the data in this file
is written in a <br>
&gt; very heavily compressed format; it could theoretically be many <br>
&gt; megabytes if uncompressed.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; -chris</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; From: Larry Ober [</font></tt><a href=mailto:larry.ober@att.net><tt><font size=2>mailto:larry.ober@att.net</font></tt></a><tt><font size=2>]
<br>
&gt; Sent: February 3, 2011 2:27 PM<br>
&gt; To: tz@lecserver.nci.nih.gov<br>
&gt; Subject: Re: lat/lon to time offset database</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Hi John,</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Well there would be some level of accuracy question.
The more <br>
&gt; accurate the polygon the larger the database. Also if the lat/lon
<br>
&gt; data was provided by GPS, there is the question of signal availability.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Basically it just seems dumb that I need to tell
my GPS what time <br>
&gt; zone it's in. LOL</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Best Regards</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Larry</font></tt>
<br><tt><font size=2>&gt; ----- Original Message ----- </font></tt>
<br><tt><font size=2>&gt; From: John Haxby </font></tt>
<br><tt><font size=2>&gt; To: tz@lecserver.nci.nih.gov </font></tt>
<br><tt><font size=2>&gt; Sent: Thursday, February 03, 2011 1:54 PM</font></tt>
<br><tt><font size=2>&gt; Subject: Re: lat/lon to time offset database</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; On 3 Feb 2011, at 18:33, Larry Ober wrote:</font></tt>
<br><tt><font size=2>&gt; <br>
</font></tt>
<br><tt><font size=2>&gt; I am looking at building a small embedded system
(No OS) that will require <br>
&gt; determining the local time from the lat/lon of a location. So <br>
&gt; basically I need <br>
&gt; lat/lon to time offset from &quot;GMT&quot;.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Does that work? &nbsp; I'm sure I can find places
in Spain that are that <br>
&gt; are close to Lisbon than they are Madrid but being in Spain the <br>
&gt; timezone should be Europe/Madrid. &nbsp;Also, when you're on going
<br>
&gt; through the channel tunnel do you go from being closer to Paris than<br>
&gt; you are to London only when you've left Calais? &nbsp;Or before you
get to Dover?</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Or have I got hold of the wrong end of the sti
</font></tt>