View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#945
Originally Posted by jafd View Post
I think I'm gonna need some help with this one.

I want to have a detailed map of a few cities pre-cached. I go to the city in question, then

1) Download -> around here -> 20 km
2) down max, up max (by the way, what do "down" and "up" mean? Does "down" mean zoom in, or zoom out?)
It means the number of zoom levels "up" and "down" from the current one. But good point, it might not be a bad idea to rename it to zoom in + zoom out.

Originally Posted by jafd View Post
3) It works out 23k tiles
4) I zoom around the city and it tells me tiles must be downloaded. I don't know what area was actually downloaded.

I believe I'm wrong somewhere, but don't know where.
What version of modRana do you have ?
Also, what tile layer are you trying to download ? Some tile providers (eq. Google) are unfortunatelly notoriously unfriendly to batch downloads. Also, were there some failed tiles during download or some error messages on stdout ? Please also check out if you have libmagic installed - modRana is using it to verify if the "tiles" it downloads are actually map images and not html error documents complaining about batch tile downloads returned by the tile provider.

Originally Posted by jafd View Post
It would be of great help actually to have those settings illustrated. Say, here's a modrana window, scale is so and so, and the area to be covered is highlighted in blue for each mode.
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.

Originally Posted by jafd View Post
By the way, sqlite interactions are prone to segfaults on amd64 python 2.7. It is for sure a regression on Python/SQLite side, but there needs to be a way to work it around.
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). 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.

Originally Posted by jafd View Post
Also, if anyone has set up a local tile server for modrana to use (say on a local network), could you please share how you did it? The openstreetmap wiki has the notorious open-source documentation problem, where old and outdated docs are intermixed with the current ones in an amusing enough way to leave one occupied for a week if not more.
I think Woody14619 tried to get a tileserver running on the N900 a while ago, don't know how far he got though. Also, there is a realtime Python map renderer called Kothic that is somehow using Mapnik - they might have some info about setting it up.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)