Re: Tangogps or navit with prepackaged Europe map

2009-05-29 Thread KaZeR

Hello list.

You might be interested in reading those pages :

http://wiki.navit-project.org/index.php/OSD contains an example of the OSD
configuration i'm using on the FR.

http://wiki.navit-project.org/index.php/Navit%27s_binary_map_driver
describes briefly navit's binfile maps.

I saw a post where navit doesn't start because of 'no gui'. It means that
navit doesn't find the gui configured in the xml, hence, it's usually one of
the two following : 
- typo in the xml
- missing .so.0 link. 
Could you post a ls -l /usr/lib/navit/gui/ ?

Also, if you want maps, you can use http://maps.navit-project.org/ where you
will find up-to-date worldfiles, or http://maps.navit-project.org/download/
where you can choose an area on an interactive map, and get the
corresponding map.

I'm using navit almost daily on my GTA02, for real-life navigation (not just
test cases). Route computation is a bit slow, but we can also blame the FR
for that. I'm using the MG maps (OSM coverage in my area is still rather
poor) and i'm rather happy with it.

K-
-- 
View this message in context: 
http://n2.nabble.com/Tangogps-or-navit-with-prepackaged-Europe-map-tp2986919p2992671.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: Tangogps or navit with prepackaged Europe map

2009-05-29 Thread Robin Paulson
2009/5/28 Joseph Reeves iknowjos...@gmail.com:
 That's made me think - we (as in the community) could provide packages
 via opkg.org that provided regular updates for various countries /
 regions / zoom levels. Would be very easy to do, just make sure that
 someone has up to date tiles (OSMupdater, for example) and package
 them up to be extracted to /media/card/maps

 It's extra work for one person, and extra load on opkg.org, but for us
 lazy people out there, it'd be great. I might even try it out with a
 South England example myself.

not necessarily a significant extra load on opkg. you could create an
opkg package with no map data in it, only control data for opkg to
know what version is installed, and a postinst script (or whatever the
equivalent is in opkg), which downloads the data from cloudmade,
direct from the osm api, or wherever. i think this is similar to how
linux distros package flash, etc. although for different reasons

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


Re: Re: Tangogps or navit with prepackaged Europe map

2009-05-29 Thread jeffrey . ratcliffe

On May 29, 2009 10:20am, KaZeR ka...@altern.org wrote:
I'm using navit almost daily on my GTA02, for real-life navigation (not  
just

test cases). Route computation is a bit slow, but we can also blame the FR
for that. I'm using the MG maps (OSM coverage in my area is still rather
poor) and i'm rather happy with it.


Which distro are you using? I find the graphics are not updated quickly  
enough on the motorway even without routing. With navit routing, I find it  
unusable at any speed.


Regards

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-29 Thread Helge Hafting
Laszlo KREKACS wrote:
 Dear List,
 
 Is anyone aware of any images, with prepacked maps with tangogps or navit?
 Im going to travel in the next days across Europe, and a gps device
 would be handy.
 I have a spare 2G uSD card. So some ready-made uSD image would be
 extremely cool.
 
 I only need the map and gps, no phone functionality is required.
 

don't know any such package, but downloading maps for tangogps is easy 
enough:

1. connect the phone to the internet somehow. (wlan or usb)
2. start tangogps
3. zoom in on an area you want maps for, such as somewhere in Europe.
Note that tangogps downloads and stores map tiles as you do this.
4. If you want detail maps for an area and don't want to move around
a lot in the detail maps, just click the screen and download a few
extra zoom levels. This is the way to get detail maps for an
entire city, for example.

Note that downloading detail maps for all of europe will simply be
too much. So go for the places you actually will be going.

Navit maps are much more compact, so all of europe is realistic on a 
large SDcard. Whether navit will perform fast enough on a FR is another 
problem.

Helge Hafting

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread arne anka
don't know about any images. but with a map for all of europe 2gb is  
pretty little.
it certainly won't work with tangogps -- once i tried to get all of  
germany in a usable resolution for tangogps and it exceed by far 2gb.
so, your best bet would be navit with its binary maps which are much  
smaller for the same are covered.

ho to fetch a map for a selected area is described in the navit wiki (in  
short: wget an url with the coordinates), and there are even a lot of  
links at osm where others have put together more or less regularyl updated  
binary map files of several regions of the world.

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Robin Paulson
2009/5/28 arne anka openm...@ginguppin.de:
 don't know about any images. but with a map for all of europe 2gb is
 pretty little.
 it certainly won't work with tangogps -- once i tried to get all of
 germany in a usable resolution for tangogps and it exceed by far 2gb.
 so, your best bet would be navit with its binary maps which are much
 smaller for the same are covered.

 ho to fetch a map for a selected area is described in the navit wiki (in
 short: wget an url with the coordinates), and there are even a lot of
 links at osm where others have put together more or less regularyl updated
 binary map files of several regions of the world.

cloudmade.com provide ready to go navit maps - the one for new zealand
was 4 megabytes; i imagine germany won't be too much bigger

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Tilman Baumann

Laszlo KREKACS wrote:
 Dear List,

 Is anyone aware of any images, with prepacked maps with tangogps or navit?
 Im going to travel in the next days across Europe, and a gps device
 would be handy.
 I have a spare 2G uSD card. So some ready-made uSD image would be
 extremely cool.

 I only need the map and gps, no phone functionality is required.

 Any ideas?

Navit has support for that kind of use. But I don't think you can get a
europe opkg package quite yet.

But there is a template how to throw a little xml snipped into some
directory (included in the mapset esction of navit.xml). Just poit it to
your sd card where your europe.bin is.

I can't give you a exact description sinc ei don't have a openmoko phone
at hand right now. But the wiki tells you how to get osm maps and the
default config shows you how to integrate it.

-- 
MFG
 Tilman Baumann


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Stuart Pullinger
others have put together more or less regularyl updated  
 binary map files of several regions of the world.

You could try downloads.cloudmade.com - they have a europe map in navit
format to download. It's 631M zipped so it may be too big for your SD
card once unzipped.

Stuart


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Joseph Reeves
 links at osm where others have put together more or less regularyl updated
 binary map files of several regions of the world.

That's made me think - we (as in the community) could provide packages
via opkg.org that provided regular updates for various countries /
regions / zoom levels. Would be very easy to do, just make sure that
someone has up to date tiles (OSMupdater, for example) and package
them up to be extracted to /media/card/maps

It's extra work for one person, and extra load on opkg.org, but for us
lazy people out there, it'd be great. I might even try it out with a
South England example myself.

Cheers, Joseph



2009/5/28 arne anka openm...@ginguppin.de:
 don't know about any images. but with a map for all of europe 2gb is
 pretty little.
 it certainly won't work with tangogps -- once i tried to get all of
 germany in a usable resolution for tangogps and it exceed by far 2gb.
 so, your best bet would be navit with its binary maps which are much
 smaller for the same are covered.

 ho to fetch a map for a selected area is described in the navit wiki (in
 short: wget an url with the coordinates), and there are even a lot of
 links at osm where others have put together more or less regularyl updated
 binary map files of several regions of the world.

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


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Tilman Baumann

Robin Paulson wrote:
 2009/5/28 arne anka openm...@ginguppin.de:
 don't know about any images. but with a map for all of europe 2gb is
 pretty little.
 it certainly won't work with tangogps -- once i tried to get all of
 germany in a usable resolution for tangogps and it exceed by far 2gb.
 so, your best bet would be navit with its binary maps which are much
 smaller for the same are covered.

 ho to fetch a map for a selected area is described in the navit wiki (in
 short: wget an url with the coordinates), and there are even a lot of
 links at osm where others have put together more or less regularyl
 updated
 binary map files of several regions of the world.

 cloudmade.com provide ready to go navit maps - the one for new zealand
 was 4 megabytes; i imagine germany won't be too much bigger

ROFL. I see, the Kiwis have some catching up to do with their OSM
coverage. :)

Europe ~550MiB
Germany ~250MiB
http://wiki.navit-project.org/index.php/OpenStreetMaps#Getting_a_pre-processed_planet.osm
-- 
MFG
 Tilman Baumann


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Tilman Baumann
btw. if you consider it.
The reiseplaner maps are great. But at least on my GTA01 (64MB) it does
not really work well because navit becomes unusabely slow.

http://wiki.navit-project.org/index.php/European_maps#Marco_Polo_Grosser_Reiseplaner

Would be interesting to see how it does on a gta02...

Tilman Baumann wrote:

 Laszlo KREKACS wrote:
 Dear List,

 Is anyone aware of any images, with prepacked maps with tangogps or
 navit?
 Im going to travel in the next days across Europe, and a gps device
 would be handy.
 I have a spare 2G uSD card. So some ready-made uSD image would be
 extremely cool.

 I only need the map and gps, no phone functionality is required.

 Any ideas?

 Navit has support for that kind of use. But I don't think you can get a
 europe opkg package quite yet.

 But there is a template how to throw a little xml snipped into some
 directory (included in the mapset esction of navit.xml). Just poit it to
 your sd card where your europe.bin is.

 I can't give you a exact description sinc ei don't have a openmoko phone
 at hand right now. But the wiki tells you how to get osm maps and the
 default config shows you how to integrate it.

 --
 MFG
  Tilman Baumann


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



-- 
MFG
 Tilman Baumann


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Laszlo KREKACS
On Thu, May 28, 2009 at 1:14 PM, Joseph Reeves iknowjos...@gmail.com wrote:
 That's made me think - we (as in the community) could provide packages
 via opkg.org that provided regular updates for various countries /
 regions / zoom levels. Would be very easy to do, just make sure that
 someone has up to date tiles (OSMupdater, for example) and package
 them up to be extracted to /media/card/maps

Thank you guys for the many answers!

I have read on the list that navit requires many tweaks to run with an
acceptable speed
on the freerunner. So what is the best way to install it? On debian?
On shr? On om2009?

I think this gps navigation is so complex, that usually people buys a
dedicated device
for it. I think it would be appropriate to build some hand-tuned,
tweaked images
for Freerunner. Maybe there is already available uSD image

The wiki is a bit too neutral about it. Would be nice to see the best
(speed-wise) option is,
and no need to try everything out and spend weeks on tweaking.

Laszlo

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Christ van Willegen
On Thu, May 28, 2009 at 1:12 PM, Stuart Pullinger s...@elec.gla.ac.uk wrote:
 others have put together more or less regularyl updated
 binary map files of several regions of the world.

 You could try downloads.cloudmade.com - they have a europe map in navit
 format to download. It's 631M zipped so it may be too big for your SD
 card once unzipped.

Since the 'bin' format is a .zip file with lots of smaller files in
it, unzipping the (europe).zip file won't grow the data much...

Unfortunately, europe is _just_ too big to store on OpenMoko's 512Mb
card, but 2 Gb will surely work.

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Laszlo KREKACS
On Thu, May 28, 2009 at 1:27 PM, Laszlo KREKACS
laszlo.krekacs.l...@gmail.com wrote:
Maybe there is already available uSD image

Ok. I tried to install navit on SHR.
I downloaded:
wget 
http://shr.bearstech.com/shr-unstable/ipk/armv4t/navit_0.1.0+svnrev2198-r1_armv4t.ipk
wget 
http://shr.bearstech.com/shr-unstable/ipk/armv4t/libgps17_2.37-r2_armv4t.ipk
wget 
http://shr.bearstech.com/shr-unstable/ipk/armv4t/libspeechd2_0.6.6-r1_armv4t.ipk
wget http://shr.bearstech.com/shr-unstable/ipk/armv4t/flite_1.3-r3_armv4t.ipk

And installed them.
Typing on the console:
export DISPLAY=:0
navit

I get this error:
r...@om-gta02 ~ $ navit
Enabling low-mem workaround...
navit:vehicle_new:invalid type 'gpsd'
navit:convert_to_attrs:failed to create attribute 'flags_forward_mask'
with value '0x402'
navit:convert_to_attrs:failed to create attribute 'flags_reverse_mask'
with value '0x401'
navit:speech_new:wrong type 'cmdline'
navit:navit_init:no gui
navit:navit_get_user_data_directory:creating dir /home/root/.navit
navit:main:Using '/usr/share/navit/navit.xml'
navit:main:No instance has been created, exiting
r...@om-gta02 ~ $

After creating symlinks in /usr/lib/navit/gui:

cd /usr/lib/navit/gui/
ln -s libgui_internal.so.0.0.0 libgui_internal.so
ln -s libgui_gtk.so.0.0.0 libgui_gtk.so

I get this:
r...@om-gta02 ~/.navit $ navit
Enabling low-mem workaround...
gui_internal:gui_internal_new:register
navit:vehicle_new:invalid type 'gpsd'
navit:convert_to_attrs:failed to create attribute 'flags_forward_mask'
with value '0x402'
navit:convert_to_attrs:failed to create attribute 'flags_reverse_mask'
with value '0x401'
navit:speech_new:wrong type 'cmdline'
navit:navit_init:no graphics
navit:main:Using '/home/root/.navit/navit.xml'
navit:main:No instance has been created, exiting
r...@om-gta02 ~/.navit $

I cant advance from here. Any ideas?

Thanks

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Christ van Willegen
On Thu, May 28, 2009 at 1:27 PM, Laszlo KREKACS
laszlo.krekacs.l...@gmail.com wrote:
 I have read on the list that navit requires many tweaks to run with an
 acceptable speed
Once I get Navit building on my PC, that's one of the first things to
look into...

 The wiki is a bit too neutral about it. Would be nice to see the best
 (speed-wise) option is,
 and no need to try everything out and spend weeks on tweaking.

Routing is still a problem, speed-wise. AFAIK it's being worked on.

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Tilman Baumann

arne anka wrote:
 Since the 'bin' format is a .zip file with lots of smaller files in
 it, unzipping the (europe).zip file won't grow the data much...

 that's actually quite interesting! it never occured to me to analyze the
 resulting file.
 so, which map format would be faster -- navit or osm?
 the same map in osm being far bigger suggests somehow that less cpu is
 necessary ...
I'm not sure I'm getting the point here.
But the navit format is binary and the osm format is (zipped) xml.
The navit binfile format is clearly more economical.
osm files contain redundant informations and the xml needs to be parsed
and built into a in memory structure (i guess) and the binfile format is
basically a memory format and as far as I can read it mmappable.


-- 
MFG
 Tilman Baumann


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Laszlo KREKACS
Maybe there is already available uSD image

 Ok. I tried to install navit on SHR.

For starting navit the navit-dev package was required:
http://shr.bearstech.com/shr-unstable/ipk/armv4t/navit-dev_0.1.0+svnrev2198-r1_armv4t.ipk

I have put the germany.navit.bin file to /mnt/media/europe dir.
I have put into navit.xml file:
mapset enabled=no
  xi:include href=$NAVIT_SHAREDIR/maps/*.xml/
/mapset

!-- Mapset template for openstreetmaps --
mapset enabled=yes
map type=binfile enabled=yes
data=/media/card/europe/hungary.navit.bin/
/mapset

Navit starts but the map is brownish yellowis solid color. So there is no map.
I cant zoom  out as the internal gui does not have such buttons.

I can press on zoom out in gtk gut, but nohting happens.

Anything more is required? A gps deamon?
Fso-gps?

Laszlo

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread arne anka
 Since the 'bin' format is a .zip file with lots of smaller files in
 it, unzipping the (europe).zip file won't grow the data much...

that's actually quite interesting! it never occured to me to analyze the  
resulting file.
so, which map format would be faster -- navit or osm?
the same map in osm being far bigger suggests somehow that less cpu is  
necessary ...

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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread arne anka
 basically a memory format and as far as I can read it mmappable.

i never looked into navit's source code.
the train of thought was simply:
small file - highly compressed information - increased cpu usage while  
extracting.



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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Tilman Baumann

arne anka wrote:
 basically a memory format and as far as I can read it mmappable.

 i never looked into navit's source code.
 the train of thought was simply:
 small file - highly compressed information - increased cpu usage while
 extracting.

No it is more like optimised computer readable format versus human
readable very redundand and bloated format. *g*

-- 
MFG
 Tilman Baumann


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Ed Kapitein
Hi Laszlo,

Don't forget to set your location in the navit.xmlfile too.
( navit center= )
Make sure you map covers the location entered there.
you also might need to remove the center.txt file.

In the gtk interface there should be a pulldown menu map in the top
bar, is that present?
That would indicate that the map is loaded.

For navigation you do need a gpsd, but it is not necesary to have it at
startup. I use navit often to calculate a route between two points,
without the gpsd switched on.

When started from commandline, do you see any error messages ( besides
the no gpsd found ofcourse)?

Kind regards,
Ed

On Thu, 2009-05-28 at 16:10 +0200, Laszlo KREKACS wrote:
 Maybe there is already available uSD image
 
  Ok. I tried to install navit on SHR.
 
 For starting navit the navit-dev package was required:
 http://shr.bearstech.com/shr-unstable/ipk/armv4t/navit-dev_0.1.0+svnrev2198-r1_armv4t.ipk
 
 I have put the germany.navit.bin file to /mnt/media/europe dir.
 I have put into navit.xml file:
 mapset enabled=no
   xi:include href=$NAVIT_SHAREDIR/maps/*.xml/
 /mapset
 
 !-- Mapset template for openstreetmaps --
 mapset enabled=yes
 map type=binfile enabled=yes 
 data=/media/card/europe/hungary.navit.bin/
 /mapset
 
 Navit starts but the map is brownish yellowis solid color. So there is no map.
 I cant zoom  out as the internal gui does not have such buttons.
 
 I can press on zoom out in gtk gut, but nohting happens.
 
 Anything more is required? A gps deamon?
 Fso-gps?
 
 Laszlo
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 


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


Re: Tangogps or navit with prepackaged Europe map

2009-05-28 Thread Christ van Willegen
On Thu, May 28, 2009 at 4:13 PM, arne anka openm...@ginguppin.de wrote:
 basically a memory format and as far as I can read it mmappable.

 i never looked into navit's source code.
 the train of thought was simply:
 small file - highly compressed information - increased cpu usage while
 extracting.

I've (briefly) looked into Navit's source code, and I've 'seen' a .bin
file. If you unzip -l such a .bin file, you'll see lots of small files
with file names consisting of A's, B's, C's and D's.

Based on my non-knowledge of how things work, I expect that the world
has been recursively divided into 4 parts (north-west = A, south-west
= B, south-east = C and north-east = D) up to a certain depth. It is
then 'quite easy' to calculate from a given position where it maps
into which ABCDABCD file, which can then be extracted from the
appropriate .bin file and read into memory and processed. You'll only
have to cache the .bin file's directory to be able to quickly find the
correct .bin file, and then seek to the correct position and read the
.zip file. zlib (at least, I think it's zlib) does this with much
ease.

Actually, loading the files does not take much CPU time, but drawing
all the vectors and filling in the shapes takes lots of time...

Christ van Willegen

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