-
Notifications
You must be signed in to change notification settings - Fork 24
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
Calculate relevant tiles using a URL instead of static json files #13
Comments
Hi, The current json files where manually created by Henk as far as I know. They are based upon the Wahoo mappack-gzip.json file. It would be great if there was a place where you can download the raw data (like geofabrik) of a slippy tile. Then your question would be possible and it would solve some "difficulties" between how Wahoo and Geofabrik etc see the world. For example, Wahoo adds the tiles of France's colonial history, or how to put it, to the map of France. Geofabrik does not. There are solutions for that, but they are not for the average Joe I'm afraid. One solution is to download the planet file, convert each tile and collect the necessary tiles for a map pack. Problem: the bigger the source file the longer it takes to split out a tile. tried it once with europe, believe me it's no solution. the other option is to create a local database containing the planet file and read from the database. Suffice to say I am trying to get the database filled for almost 3 months now. (keep running out of space) |
I "spoke" to Henk who gave me an idea and a little start. So I have made a new version that uses the Geofabrik json file. I uploaded it today to Higli's HiDrive |
Hi! thanks for commenting 👍 , I didn't got notified or haven't seen it.
Henk mentioned this some time ago as an enhancement to always be up-to-date here and not rely on the "static" json files in the repo.
Legit point!
What do you mean with a "slippy tile"? Some tile at a given X/Y position? Sound clear! To be honest I didn't get so deep into this feature that I found all this! |
wohooo sounds great! 👍 Do you like to implement it in this repository as Pull Request? On the other hand I can try to integrate the changes into this version if you allow so? What do you think about having the python files and other needed stuff in a place like Github rather than on HiDrive? oh and slippy tiles is the openstreetmaps name for the x/y coordinates system |
Do what whatever you want with it. ;-) I don't have a clue as to how github works so it's up to you I'm afraid... |
hehe I might look into that if I have time. Thanks! If you like I would be willing to introduce you to Github to use that as central point for the coding to generate Wahoo-maps. The main advantages are in my opinion:
|
Use https://download.geofabrik.de/index-v1.json for map creation instead of the wahoo json files in folder
common_resources\json
The relevant tiles are calculated here:
wahooMapsCreator/common_resources/file_directory_functions.py
Lines 62 to 70 in 6490e6a
The text was updated successfully, but these errors were encountered: