-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per [email protected] message, odd behavior with America/Nigipon vs. America/Toronto #131
Comments
I'm adding a reference to the tz mailing list discussion about this. In the mailing list discussion, I agree with the comment made by Chris Walton that I am skeptical of the |
I've sent a message to the OSM user Arctic gnome to request their input. I believe they have made most of these edits to the |
Going by this web site: https://www.distancesto.com/time-zones/america/nipigon.html ...America/Nipigon should be a very small, nearly rectangular region. It has a fairly simple definition:
The definition from evansiroky/timezone-boundary-builder is comparatively huge, and covers much more territory, at least from what I see in the numbers. (I don't know where to find a visualizer for this data, but I'd appreciate a recommendation.) |
I take back what I said about the distancesto.com definitions making more sense. Montreal should be inside America/Toronto, but isn't. The distancesto.com site even says (verbally) that Montreal is in America/Toronto, but graphically is isn't. |
In the Wikipedia article on Time in Canada, there is this note on
It provides no source for this statement, but I'm guessing that Shanks is probably the origin of it. In any case, the implication is that in most of this area the government would have used the |
Yes; Shanks is certainly the origin of this mess. It is possible that there were a few holdouts in rural Ontario east of of 90°W that did not adopt daylight saving until 1974. However, we know that Shanks made up some of his data. Even for the township of Nipigon itself, I am not convinced that Shank's data should be trusted. For what it is worth, the Canadian Pacific train schedule from the summer of 1970 places all railway stops between Thunder Bay and Montreal on "Eastern Time". "Eastern Daylight Time" is implied. I looked at the the time and distance deltas between stations. The train travelled at roughly 40MPH and there are no anomalies where the trains suddenly gain or lose an hour. As I posted in the TZ mailing list last night, the current America/Nipigon relation in Openstreetmap consumes 73% of the land in Ontario. I think it is ridiculous given the nature of the data source. I see two valid options:
-chris |
Going back for many years (to 1975?), America/Nipigon, America/Toronto, America/Detroit, and America/New_York have all been functionally the same it seems, so perhaps the distinctions all come down to some fuzzy history, after which any of these zones yields the correct results? |
I'd guess from the other comments I've read here that reducing I've also emailed distancesto.com about the error of leaving all of Quebec out of their version of |
kshetline, |
Sorry about that! distancesto.com - I accidentally left out the second 's'. I've fixed the typo in my previous comments. |
Hi, I'm Arctic_gnome. I expanded America/Nipigon based on Shanks International Atlas. It names hundreds of villages in Canada along with the date any of them started DST or switched time zones. It every direction, I looked up neighbouring villages until I hit one where it no longer matched America/Nipigon's history of starting DST in 1974. The result is the huge version of the America/Nipigon zone as seen on OSM: https://www.openstreetmap.org/relation/6498592. According to Shanks, most of Ontario didn't start using DST until 1974. Only the areas around larger population centres follow America/Toronto's example of starting DST before the Unix time epoch. From a purely legal point of view, I'm skeptical of whether America/Nipigon or America/Thunder_Bay ever existed. I've been looking at Ontario laws from the 1970s, and I so far I can't find any provision that would grant municipalities authority to opt out of daylight savings time (I'd need to access a good law library to know for sure). But regardless of the law, there seems to be enough evidence to show that, in practice, not all of Ontario used daylight savings from 1970-1974. I've seen scans of newspapers from the 1970s mention it. It also lines up with what I was told by older folks in North Ontario: that small communities north of Greater Toronto resisted DST for decades. It's possible that Shanks is wrong about how far America/Nipigon reaches. The atlas doesn't give a methodology for how it determined when each of these communities started using DST. Many of the little Hamlets mentioned in Shanks don't even have municipal governments, and therefore have no bylaws to look up. The only way Shanks could have known the date of time change for these tiny hamlets is if they talked to locals. If Shanks is wrong, we need to find another source to determine which communities used DST in the early 1970s and who didn't. I think Crjwalton had a good idea to use railway schedules. With respect to Kshetline, I advise against using the boundary from Google, because that probably wasn't the boundaries in 1970-1974. Does anyone know what source was used when America/Nipigon and America/Thunder_Bay were first added to the tz Database? |
ArcticGnome,
|
That all makes sense to me. If law says America/Nipigon, America/Thunder_Bay, and America/Atikokan don't exist, I think we should default to shrinking them to zero, and only give them size if someone finds clear evidence that a certain place didn't follow DST. And for this purpose, Shanks does not count as proof. |
ArcticGnome, America/Atikokan is valid; please do not remove it from OSM. Back in 2006 I had an e-mail exchange with Warren Paulson who was the Chief Administrative Officer for the Township of Atikokan. He told me that Atikokan had been using Eastern Standard Time (with no daylight saving) since at least 1952. I am not sure if I still have the old e-mail thread, but I did post the relevant info on the TZ mailing list: https://mm.icann.org/pipermail/tz/2006-July/013730.html. The OSM boundary for America/Atikokan is based on a KML file I published on the web in 2007; the boundary includes Quetico Provincial Park which is administered out of the town of Atikokan. America/Thunder_Bay and America/Nipigon need further discussion on the TZ mailing list. I will try and post something there in the next day or two. |
Good that we have evidence for at least one of these Ontario zones.
Your group should also look into America/Rainy_River. It's the same as
America/Winnipeg except it didn't use DST until 1974. So, the exact issue as
America/Nipigon, but one time zone over. If there is no reliable evidence
for its existence, it should be removed too.
While you're at it, take a look at America/Glace_Bay. According to
legislation, it has had the same time as America/Halifax (unless an old
order-in-council modified it). Evidence of it not adopting DST until later
seems to have come from Shanks and a weather station. Is that enough?
…On Tue, 12 Jul 2022 at 22:15, chris ***@***.***> wrote:
ArcticGnome,
Sorry I was away for a few days.
America/Atikokan is valid; please do not remove it from OSM. Back in 2006
I had an e-mail exchange with Warren Paulson who was the Chief
Administrative Officer for the Township of Atikokan. He told me that
Atikokan had been using Eastern Standard Time (with no daylight saving)
since at least 1952. I am not sure if I still have the old e-mail thread,
but I did post the relevant info on the TZ mailing list:
https://mm.icann.org/pipermail/tz/2006-July/013730.html. The OSM boundary
for America/Atikokan is based on a KML file I published on the web in 2007;
the boundary includes Quetico Provincial Park which is administered out of
the town of Atikokan.
America/Thunder_Bay and America/Nipigon need further discussion on the TZ
mailing list. I will try and post something there in the next day or two.
-chris
—
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIHSTKCKCNFEVOBZ6CAYFATVTY7FDANCNFSM526RUIFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
After this timezones was removed from OSM, in order to be able to build the timezone-boundary's again this timezones has to be removed from the config files, the removed areas are covered by:
The removed objects from: osmBoundarySources.json
|
I will be putting back America/Thunder_Bay; the weather station at Thunder
Bay Airport follows that zone's rules, so it has better evidence for
existence than America/Nipigon and America/Rainy_River. But the Thunder Bay
zone is probably limited to the city and its immediately adjacent
communities.
…On Fri, 26 Aug 2022 at 01:31, szjozsef ***@***.***> wrote:
After this timezones was removed from OSM, in order to be able to build
the timezone-boundary's again this timezones has to be removed from the
config files, the removed areas are covered by:
America/Winnipeg and America/Toronto
The removed objects from: timezones.json
"America/Nipigon": [
{
"op": "init",
"source": "overpass",
"id": "America-Nipigon-tz"
}
],
"America/Rainy_River": [
{
"op": "init",
"source": "overpass",
"id": "America-Rainy_River-tz"
}
],
"America/Thunder_Bay": [
{
"op": "init",
"source": "overpass",
"id": "America-Thunder_Bay-tz"
}
],
The removed objects from: osmBoundarySources.json
"America-Nipigon-tz": {
"timezone": "America/Nipigon"
},
"America-Rainy_River-tz": {
"timezone": "America/Rainy_River"
},
"America-Thunder_Bay-tz": {
"timezone": "America/Thunder_Bay"
},
—
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIHSTKAIPTVN3G3W4MUQKGTV3BXFPANCNFSM526RUIFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
For future reference: The GUI I have built for the python package |
On October 15, 2022, three northern Ontario zones were converted from dedicated "Zones" to "Link" entries in the GitHub repository for the TZ database. The new Link entries look like this: Justification for the changes were:
It is possible that America/Nipigon or America/Rainy_River could be revived in the future; somebody would need to prove (without using Shanks based data) that they have not been the same as Toronto and Winnipeg since 1970. For now, all three of the above mentioned northern Ontario zones should be considered as deprecated. |
The weather station at Thunder Bay airport did show a different value for
1973, unlike Nipigon and Rainy River. But a local newspaper (
http://www.bayviewmagazine.com/article/2022/03/great-springing-forward-debate)
says Thunder Bay has been using DST since 1970. Maybe the weather station
was confused by the same error that TZ Database was?
…On Mon, 17 Oct 2022 at 23:31, chris ***@***.***> wrote:
On October 15, 2022, three northern Ontario zones were converted from
dedicated "Zones" to "Link" entries in the GitHub repository for the TZ
database. The new Link entries look like this:
*America/Thunder_Bay* --> *America/Toronto*
*America/Nipigon* --> *America/Toronto*
*America/Rainy_River* --> *America/Winnipeg*
The changes will be included in the next release (likely to be named
2022f).
Justification for the changes were:
1. The data for America/Thunder_Bay contained an error for the year
1973. With that error fixed, it is now believed that Thunder Bay has been
in sync with Toronto since the beginning of the UNIX epoch (Jan 1, 1970).
2. The data for America/Nipigon was proven to be incorrect for the
year 1972. The data for 1970 and 1971 remains questionable.
3. The data for America/Rainy_River was considered to be questionable
simply because it was derived from the same error ridden sources as the
other two zones.
It is possible that America/Nipigon or America/Rainy_River could be
revived in the future; somebody would need to prove (without using Shanks
based data) that they have not been the same as Toronto and Winnipeg since
1970.
For now, all three of the above mentioned northern Ontario zones should be
considered as deprecated.
—
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIHSTKEJE62SJ6WUAXHR4H3WDYYZTANCNFSM526RUIFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
ArcticGnome, |
ArcticGnome, |
All, I really appreciate the continued discussion here. I had a lapse of motivation for a few months, so I had to publish something to get this project somewhat current. I see that there are already some unreleased changes in the tz database, so I'll be sure to get those into another release once the tzdb releases those changes. |
As @crjwalton predicted, 2022f has been released with these changes, so I'll be making a new release shortly. |
Using the example of Walpole Island, Ontario, when I try to find a timezone shape which contains the lat/long of this location (42.6152, -82.51398), I oddly get a match for America/Nigipon rather than America/Toronto (at least it’s not America/Detroit, as GeoNames has it). I get several matches, in fact, for America/Nigipon that don’t make sense, given that this zone should have a very small area.
I’m using the
@turf/turf
npm library to parse the shape files, andbooleanPointInPolygon()
to check if a particular zone contains a specific lat/long point.You can see where I do this in the function
findTimezone()
, in the following code, currently at line 79: https://github.com/kshetline/geo-db-updater/blob/development/src/app.tsThe logic of this code is based on reducing the number of zones I check by breaking the world up into 15°x15° chunks, and checking only the shapes of timezones with bounding rectangles overlapping those 15°x15° areas.
When checking Walpole Island, I end up checking these zones: America/Chicago, America/Detroit, America/Indiana/Indianapolis, America/Indiana/Knox, America/Indiana/Marengo, America/Indiana/Petersburg, America/Indiana/Tell_City, America/Indiana/Vevay, America/Indiana/Vincennes, America/Indiana/Winamac, America/Kentucky/Louisville, America/Kentucky/Monticello, America/New_York, America/Nipigon, America/Toronto
I tried reversing the order I check these zones in, so that I checked America/Toronto before checking America/Nipigon, but even then (42.6152, -82.51398) was found in America/Nipigon, and not in America/Toronto.
The problems with these two zones aren't unique either. I get odd results using this search/match technique all over the globe.
The fault, of course, could be in my own logic, or in @turf/turf, and not in your zone definitions.
The text was updated successfully, but these errors were encountered: