View Single Post
Posts: 4 | Thanked: 0 times | Joined on Nov 2008
#4
Well, I am not a really good programmer myself, but I think it might be relatively easy, it is just that I don't know the procedure to translate Lat-Long into the correct (x, y, zoom) to pass it to the OpenStreetMap URL I know I could look at the source and see how it is done but it would be slower than someone knowing this stuff and shedding some light, pointing people in the right direction

I am currently going to look into the source of WinMapper to see if I can abstract the core of the downloader (to me this would be the loop that goes through a certain Lat/Long square and downloads all the [x, y, zoom] tiles) because if we had such a core in a mapper_downloader.c for example, we could wrap it easily into other programs and interact with it in many different ways (the WinMapper way, the MM way --graphically--, whatever).

And with respect to #1... it would be really cool if someone could tell me why MM creates a gdbm by default, because by looking at the source code, it can work qith sqlite3 (it has a lot of sqlite3 code between #ifdefs...)

Cheers!