View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1048
Originally Posted by int_ua View Post
But the tiles location is shared between multiple map applications and if you use them to view the same location you will have the tiles stored twice, right?
Yep, but:
Originally Posted by rotoflex View Post
It is possible that many tend to use one map application - I do, anyway. It does seem like the default should continue to be the shared maps directory.
Also if you use sqlite tile storage, there are so far no other navigation apps with support for the format other than modRana. This might change in the future as the format is open & documented here and the Cloud GPS developer mentioned having support for it on his roadmap.

Originally Posted by rotoflex View Post
Then, if someone is using Modrana & really needs additional storage space, the option is there to move the tiles to a memory card. It would be ideal if the other map applications also made the tiles directory configurable, but all things can't be made ideal!
I think most probably support this through their configuration files.

Originally Posted by rotoflex View Post
I just thought of another feature that might be useful - POI's with alarms. Since the GPS is on already, & you can enter POI's, it could be useful to associate an alarm with the POI so you don't drive past it. I would add POI's for speed limit change signs & set a bong sound in areas that I sometimes forget to to speed up or slow down in.
This is actually already a ticket for this from a long time ago. A new table in the POI database with rows bound to the POI ids would be needed. This table would store all the various alarms (more than one alarm per POI would be supported) & their metadata (distance, beep/spoken message, enabled/disabled, etc.). and you would have to assure that alarms are removed when a POI is deleted (this might be automatic given proper key arrangements are done in the database).

While I still think this is the proper way for implementing POI based alarms, your question got me thinking it there is another, more simple way how for handling alarms.

I asked myself a couple questions:
  • do the alarms need to be bound to POI after all ?
  • how to easily add an alarm without making a POI ?
  • how to make it easy for users to add many alarms at once (eq. with a script that generates them from a list of speed-limits/whatever) ?

Result: Plain-text alarm lists !
The alarms would be just stored in one or more plain-text files, one alarm per row with CSV notation.

Row notation might look like this:
Code:
lat;lon;distance;enabled;name;alert

51.178844,-1.826189;200;1;Stonehenge;Watch for the stones !
Explanation:
lat - latitude in decimal format
lon - longitude in decimal format
distance - trigger distance
enabled - 1 = enabled, 0 = disabled
name - displayed name
alert - any string other than BEEP or SAY would go directly to text-to-speech, BEEP triggers some default alarm sound, SAY: says whats after the colon (so you can SAY:BEEP )

What about elevation ?
A friend of mine is a glider pilot so the idea of 3D alarm coordinates has crossed my mind. Still, I want the format be as simple as possible (so that users can basically just generate the lists in excel/calc) and elevation would probably not bee needed 99% of the time. As a result, elevation support can be added in the future - probably into the distance field with some prefix (eq. ELEV:375,200)

How to add new alarms ?
There would be two ways: editing the alarm lists from the outside (just create a valid list and modRana will be able to use it) or interactively inside modRana (create new lists, add alarms from map/poi/coordinates, enabled/disable alarms, activate/deactivate alarm lists).

And now the most important thing:
What do you thing about this idea ?
  • did I forgot about some essential alarm parameter ?
  • any ideas for a better row format or an other technical solution overall ?
  • implementation/scalability concerns ?
  • or anything else ?
__________________
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)

Last edited by MartinK; 2012-06-01 at 21:52.
 

The Following 9 Users Say Thank You to MartinK For This Useful Post: