View Single Post
Posts: 29 | Thanked: 26 times | Joined on Oct 2009
#946
It means the number of zoom levels "up" and "down"
Like a bird flying up and down, in other words?
What version of modRana do you have ?
0.29-2
Also, what tile layer are you trying to download ?
openstreetmap; I also want to set up my own local mapnik to relieve some load on OSM servers.
I think Woody14619 tried to get a tileserver running on the N900 a while ago, don't know how far he got though.
No no no, I want Mapnik on a PC on the same LAN as N900. The thing is, I want a cache of a whole country - it's HUGE, N900 would just die from choking while processing it.

Another way would be a batch rendering with Mapnik (and not mucking around with mod_tile and friends) and mass import into SQLite, but the link to a Perl script posted a few pages ago is dead.

Any idea what approximate sequence of events triggers the segfault ? I have a similar setup (Core i5 + Python 2.7) so I can try to reproduce that.
Just try to download a 40 km area for all zoom levels around Warsaw, Poland (it estimates to ~90k of tiles) and it eventually dies. Using Python 2.7.3rc1 on Ubuntu 12.04 beta. Curious thing, on N900 it doesn't die.
I would like to include a more interactive tile download mode in the new QML GUI. Something like dragging a rectangle aver an area, then selecting zoom level range with some sliders & starting the download.
For now, a simple example would suffice. Like, here's what would be downloaded in "Around here" mode (where is "here"? GPS location or visible window center?), here's what would be downloaded in "Around view" mode (portion outside screen? Visible window's center?), here's what would get downloaded around route.
Yeah I had quite a few issues already with sqlite with Python 2.5 that is present on the N900 (mostly related to broken threaded access to the database).
From the experiences I've had with SQLite, it's better to have just a single writer thread, and queue up things you want to insert/update there. I have tried to do that myself, but got lost in the code - seems like "download" and "store" parts are not quite separate.

Last edited by jafd; 2012-03-12 at 11:40. Reason: filled in more details
 

The Following User Says Thank You to jafd For This Useful Post: