Re: geocaching with tangoGPS on FR

2008-12-13 Thread Matt Brown
2008/12/8 Nicolas LAURANCE nlaura...@zindep.com:
 Hi freephone users,

 I wrote a little python script that will inject geocaching positions into
 tangoGPS, so that you can use your freephone to locate the caches you
 select.

 You'll find screenshots, instructions and download at :
 http://www.zindep.com/blog-zindep/geocaching_tangogps

 I hope it can be of some use

Very useful thanks, although I still wish GroundSpeak were more open
with their data... :(

Anyway, I've attached a patch to make your script work with Python 2.5
(element tree moved within the standard library so needs to be
imported differently).

Thanks

-- 
Matt Brown
m...@mattb.net.nz
Mob +353 86 608 7117 www.mattb.net.nz
--- loc2tango.py.orig   2008-12-13 12:23:46.0 +
+++ loc2tango.py2008-12-13 12:24:02.0 +
@@ -4,7 +4,10 @@
 # Licence GPL
 # (c) Nicolas Laurance 2008
 
-import elementtree.ElementTree as ET
+try:
+import elementtree.ElementTree as ET
+except ImportError:
+import xml.etree.ElementTree as ET
 import re, hashlib
 from pysqlite2 import dbapi2 as sqlite
 from optparse import OptionParser
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: geocaching with tangoGPS on FR

2008-12-13 Thread Nicolas Laurance
Matt Brown a ecrit:

 Anyway, I've attached a patch to make your script work with Python 2.5
 (element tree moved within the standard library so needs to be
 imported differently).
 
 Thanks
 

Thanks to you,

this improved version is uploaded now

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: geocaching with tangoGPS on FR

2008-12-10 Thread Marco Trevisan (Treviño)
KaZeR wrote:
 drac2000 wrote:
 I already tried it with my maps.. but not successfully through engine
 finding paths and all that ...
   
 What version was it?
 Was it successful for you finding and routing?

 Yes, but for France i'm using Reiseplanner maps (commercial, around 40e).

I'm using these too. Btw there's a bug: it's hard to get find a location
that has a space in the name (like Mont Saint Michel, for example :P).
Some weeks ago I looked at the sources founding that this is not due to
navit itself, but to the Reiseplanner maps that simply have an index of
cities based on a kind of keywords (for the example above, there are
three different keys for Mont, Saint and Michel) that then
redirect to the index of the city in the map file.
So maybe the mg plugin should check the words not by searching the
complete string put by the user, but repeating the search for each word
and then comparing the results showing only the results that matches
every word written (I know, I should fill a bug :P).

Using the internal gui, btw, there's another problem. There's no default
country set as stated by the log:
 gui_internal:gui_internal_search_list_set_default_country:warning:
 no default country found


 Have you tried the internal gui? It's really well suited for small
 touchscreens like the FR.

I've tried it. Using the old packages you made it was too little, but
now it's ok, also if the action menu should be shown a little better
when using the phone in landscape mode (as I generally do when navigating).

Ah, using the gtk inteface, the text added in the Destination dialog
should be trimmed, since the embedded keyboards (based on dictionaries)
tend to add an extra space after a word.

I've to say that the newer package you made is really faster when
loading my maps on launch, also if it doesn't seem to include the fix
posted months ago here (to redraw the map only after each drag as
TangoGPS does) and it doesn't include a wrapper script with:
 echo 1  /proc/sys/vm/overcommit_memory

Finally I've seen this screenshot [1] in scap, is this an EFL
implementation of Navit? It seems to use the enlightenment toolkit both
for the buttons and for the map rendering (better than the GPS from what
I can see there). Have you some informations about this shot? :P

Anyway thanks for the work done in Navit, it's really a great project!


[1] http://i34.tinypic.com/2m7t64m.png

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: geocaching with tangoGPS on FR

2008-12-09 Thread drac2000

This is great
A long time ago I wanted to start enjoying geocaching
And now with your contribution, on my FR that will be great :wistle:
Specially runing on the TangoGPS which is nicest GPS app I found runing on
linux 
I would like to know when the tangoGPS application will support rounting and
use it as my car drive GPS -(


Nicolas Laurance wrote:
 
 Hi freephone users,
 
 I wrote a little python script that will inject geocaching positions 
 into tangoGPS, so that you can use your freephone to locate the caches 
 you select.
 
 You'll find screenshots, instructions and download at :
 http://www.zindep.com/blog-zindep/geocaching_tangogps
 
 I hope it can be of some use
 
 Nicolas
 
 

-- 
View this message in context: 
http://n2.nabble.com/geocaching-with-tangoGPS-on-FR-tp1631491p1634250.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: geocaching with tangoGPS on FR

2008-12-09 Thread KaZeR
 

 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] De la part de drac2000
 Envoyé : mardi 9 décembre 2008 16:12
 À : community@lists.openmoko.org
 Objet : Re: geocaching with tangoGPS on FR
 
 
 This is great
 A long time ago I wanted to start enjoying geocaching And now 
 with your contribution, on my FR that will be great :wistle:
+1 :)

 Specially runing on the TangoGPS which is nicest GPS app I 
 found runing on linux I would like to know when the tangoGPS 
 application will support rounting and use it as my car drive GPS -(
I know it's a bit offtopic since it includes the word 'TangoGPS', but for
that you might want to try
http://download.navit-project.org/navit/openmoko/svn/navit-current_armv4.opk

Some hints : 
- icon is broken in OM (fine in SHR), you need to copy
/usr/icon/icons/hicolor/128x128/navit.png to /usr/icon/pixmaps/navit.png 
- edit /usr/share/navit/navit.xml, uncomment the line gui=internal,
comment the line gui=gtk. I also advise you to uncomment the lines which
enable zoomin and zoomout button on the osd, a few lines below.

Those 2 pitfalls should be fixed really soon.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: geocaching with tangoGPS on FR

2008-12-09 Thread drac2000


KaZeR wrote:
 
  
 
 I know it's a bit offtopic since it includes the word 'TangoGPS', 
 
Not at all, you're welcome

KaZeR wrote:
 
 but for that you might want to try
 http://download.navit-project.org/navit/openmoko/svn/navit-current_armv4.opk
 
I already tried it with my maps.. but not successfully through engine
finding paths and all that ...
Was it successful for you finding and routing?
What about speeching?

KaZeR wrote:
 
 Some hints : 
 - icon is broken in OM (fine in SHR), you need to copy
 /usr/icon/icons/hicolor/128x128/navit.png to /usr/icon/pixmaps/navit.png 
 - edit /usr/share/navit/navit.xml, uncomment the line gui=internal,
 comment the line gui=gtk. I also advise you to uncomment the lines which
 enable zoomin and zoomout button on the osd, a few lines below.
 
 Those 2 pitfalls should be fixed really soon.
  
I will give that a try again
(Even if I still have preference to tangoGps which has better GUI  design i
think)

Thanks

drac,
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



-- 
View this message in context: 
http://n2.nabble.com/geocaching-with-tangoGPS-on-FR-tp1631491p1634614.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: geocaching with tangoGPS on FR

2008-12-09 Thread KaZeR

drac2000 a écrit :

I already tried it with my maps.. but not successfully through engine
finding paths and all that ...
  

What version was it?

Was it successful for you finding and routing?
  

Yes, but for France i'm using Reiseplanner maps (commercial, around 40e).

What about speeching?
  

True, i'm not using it right now. Haven't tried much in fact.

KaZeR wrote:
  
Some hints : 
- icon is broken in OM (fine in SHR), you need to copy
/usr/icon/icons/hicolor/128x128/navit.png to /usr/icon/pixmaps/navit.png 
- edit /usr/share/navit/navit.xml, uncomment the line gui=internal,

comment the line gui=gtk. I also advise you to uncomment the lines which
enable zoomin and zoomout button on the osd, a few lines below.

Those 2 pitfalls should be fixed really soon.
 


I will give that a try again
(Even if I still have preference to tangoGps which has better GUI  design i
think)
  
Have you tried the internal gui? It's really well suited for small 
touchscreens like the FR.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community