-
Notifications
You must be signed in to change notification settings - Fork 62
incorrect TZ for Page, AZ #7
Comments
This is a known bug on this end caused by the compression algorithm we use to pack the timezones into a small file. I am working on a fix ( |
Thanks - I'll check the branch and see if I can help with anything. |
I spent some hours yesterday doing a deep dive into this. Here's what I've found:
|
In the The downside to this is that there are errors caused by the lossy compression—a few of the test cases (including Page, AZ, of course :) ) fail. I assume that this is either due to a bug in the packing code or because the urban cover map isn't high-quality enough (e.g. omitting urban centers for a few cities). So there's still some more investigating to do. |
Okay, dug into this yet more, and confirmed that Page, AZ is listed as being America/Denver in our source data. I've contacted the maintainer of the source about the issue. Continuing to investigate workarounds on my end in the meantime. |
Hello there, I'm the maintainer of timezone-boundary-builder. Timezone-boundary-builder creates a timezone shapefile of the world using data from OpenStreetMap. I've created an issue evansiroky/timezone-boundary-builder#9 to come up with some better borders in Northeastern Arizona. @pirxpilot if you have detailed local knowledge of where exactly the timezone boundaries should be in this area, I'd love to hear your input! @ironwallaby I'd recommend switching your data source to use timezone-boundary-builder. timezone-boundary-builder has much more precise and accurate borders and includes territorial waters. |
Sorry. I don't really have any local data on Page, AZ - I learned about the discrepancy from Furkot users. Page is a tourist hub in the area and our users were complaining about incorrect times. |
@evansiroky Thanks for the heads-up; I'll take a look at ingesting your data set to see how it compares. (It should be a straightforward change to the pipeline.) |
Page, AZ - 36.9147, -111.4558 - should be in America/Phoenix (no DST) and not in America/Denver TZ
I added test in pirxpilot/tz-lookup repo
Not sure if this is a problem with incorrect shapefile DB or an issue in tz-lookup. I emailed Eric Muller - I'll let you know if I get a response.
The text was updated successfully, but these errors were encountered: