Preparing for release v1.7.3
[geeqie.git] / ZoneDetect.md
1 # How to generate the timezone database
2
3 FIXME Incomplete documentation
4
5 The detection of timezone is performed by
6  [ZoneDetect](https://github.com/BertoldVdb/ZoneDetect)
7  
8  timezone16.bin has a longitude resolution of 0.0055 degrees (\~0.5km).  
9  timezone21.bin has a longitude resolution of 0.00017 degrees (\~20m).
10  
11  The safe zone result indicates how close you are to the nearest border (flat earth model using lat and lon as x and y), so you can know when to do a new lookup. If you don't need it you can ignore it, in this case you can pass a NULL parameter to save the (very small) calculation effort.
12  
13  
14  Note that the [underlying database](https://github.com/evansiroky/timezone-boundary-builder) will change from time-to-time.