BertoldVdb/ZoneDetect

“the program used to convert shapefiles to the binary database files”

Closed this issue · 3 comments

mhfan commented

This is a quite interesting project, but when would you disclose "the program used to convert shapefiles to the binary database files"? I would like to try make the database more compact, e.g.: use a way tz-db-index instead of tz-name.

Besides, I'm curious about what is difference between timezone16.bin and timezone21.bin?

Hello,

Sorry, I totally forgot about this. I will try to upload the program in the coming days.

The number indicates the resolution. The 21 file has a higher resolution for storing the borders, but it is larger. The 16 file has a longitude resolution of 0.0055 degrees (~0.5km) and the 21 file has 0.00017 degrees (~20m). I will add this information to the readme.

Sincerely,
Bertold.

Sorry, I totally forgot about this. I will try to upload the program in the coming days.

I (for one) would extremely grateful if you would upload the source at some time.
A while ago I included ZoneDetect as part of the Geeqie project on GitHub. Unfortunately I later had to remove it - Geeqie is available as a Debian package, and one of the Debian maintainers pointed out that .bin files cannot be included, only sources.

And thanks for creating this library.

Hello,

Sorry for the long delay. I was really busy with other projects. I have uploaded the generation script as-is. I hope it can help you: https://github.com/BertoldVdb/ZoneDetect/tree/master/database/builder