![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Hi Martin,
From looking through the database code and structure to produce the migration script, I think I've found a few points where the code and schema could be more efficient.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
When downloading a large area, modRana segfaults. Thought it was only on the N900, but the PC version exhibits the same behavior.
When trying to download a 40km area, I get an estimated download of 90 thousand tiles, modRana segfaults after cca 10 thousand tiles with: Code:
Batch tile dl working... (threads: 8) pending: 46496, done: 43730 |
Re: [Announce] modRana: a flexible GPS navigation system
Well, the crashes seem to be arbitrary... After a series of crashes at roughly 10 thou, I've had a download running now, which is 50 thou and going...
|
Re: [Announce] modRana: a flexible GPS navigation system
1) Track Logs: Any particular reason why they're stored under /opt? Also their file permissions are owned by root.
May I suggest that all user "generated" data and maybe config files are stored in the home directory or in MyDocs. 2) Another thing is modRana doesn't seem to reload the tracklogs directory. Eg I export a track from GPSJinni and copy it to the tracklogs directory whilst modRana is running. I need to restart modRana before it sees the copied file. Thanks! |
Re: [Announce] modRana: a flexible GPS navigation system
This downloading is a serious problem. I'm trying to download a 40km area just at the lowest level of zoom that OSM will go to, that's around 350k tiles, but it keeps crashing at 15k, which I already have.
How to get around it? Tried switching it to just save the tiles, so that I'd later import them into the sql db, but the same thing, just bombs, WTF? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
check out the updated data storage article for details about the new paths. In short:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
A hash with separators might work though: 1,2,17 vs 1,21,7 - would something like this be usable ? Also, would it be possible to maintain backward compatibility by adding this new indexes and still storing the old info ? Converting all the existing database files users might already have would be quite a headache and also some developers might be already working on supporting the format in its current form (IIRC the CloudGPS developer, maybe also some others). There is a version filed in the schema, so it would be possible to do something like this:
Quote:
Still, this seems more like a bug in Glib that is being triggered by modRana. There is even a post mentioning a similar behaviour (glib and long lists). Quote:
If this does not help, you can try some other batch download software, like Gmapcatcher and then importing the tiles with the SQLite import script. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I think it would be better to store everything under MyDocs/Modrana.
So, we'd have: MyDocs/Modrana/tracklogs MyDocs/Modrana/pois MyDocs/Modrana/config (not sure about this one, maybe it is better ~/.modrana) Of course, maps should be kept at MyDocs/.maps to share it with other applications. |
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8