maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v1.0 for the 2006 OS (https://talk.maemo.org/showthread.php?t=2142)

fpp 2006-08-07 21:16

Quote:

Originally Posted by avdigital
Hi all,
If you experience download troubles of the google maps, you can use this new link:
http://mt0.google.com/mt?n=404&v=w2....d&y=%d%zoom=%d
The old link(s) posted on this forum did't work (for me) any more.

Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

gnuite 2006-08-08 02:38

Quote:

Originally Posted by avdigital
I had the same issue and also did the 'sudoers' trick but didn't work for me.

After my vacation with the Nokia MeamoMapper System I tried the '/dev/rfcomm' trick and this works perfectly; no loss of BlueTooth GPS connection at all.

I modified my Nokia so it will automaticly connect to the GPS unit when I startup Meamo-mapper. Modify the /etc/bluetooth/rfcomm.conf file. (first gain root access to do this)
Replace the sample values with your own values (MAC address) and set BIND to yes. Then the connection will be established at each reboot.

Now even when I switch off the GPS or get away from my Nokia with it it reconnects immediately when switched on or get nearby again.

Question: Is it so that the BlueTooth hardware is now always active (and searching) and is draining the battery more if I don't use Maemo-mapper?

By adding the device to BIND, it doesn't actually keep the connection open all the time (and it doesn't try looking for the device, either).

What really happens is that, whenever an application opens the /dev/rfcomm device for reading (or writing, I imagine), the bluetooth driver only then looks for and connect to the device. If the device is not present, I think it returns EOF or a failure condition or something. When the application closes the "file", the connection is dropped.

So, it won't drain your battery unless you leave Maemo Mapper on (without the cover on the display).

Using rfcomm this way may, in fact, be the (unfortunately) ideal solution to the dropout situation, until Nokia (or whoever) fixes the bug that causes the dropouts.

GPSD may also be a potential solution, since I think it uses rfcomm.

thigh bone 2006-08-08 10:11

gmaps url
 
Quote:

Originally Posted by fpp
Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

if you use firefox an easy way of getting the current url is to go to google maps and then open "Tools -> Page Info". Under the Media tab you can then see the urls for each square on the map.

Then just remove the number after mt and replace the x, y and zoom values with %d to get:
http://mt.google.com/mt?n=404&v=w2.17&x=%d&y=%d&zoom=%d

looks like the one in the earlier post had an extra % in there

lucaluca2 2006-08-08 13:36

gps info
 
Hi,
my next patch: GPS Info, display some textual GPS information (lat/lon, speed, satellites info, gps time (with local time zone). Details: http://eko.one.pl/index.php?page=No... 20maemo-mapper. See screenshot.


information the altitudine?
hi

avdigital 2006-08-08 16:16

Quote:

Originally Posted by gnuite
By adding the device to BIND, it doesn't actually keep the connection open all the time (and it doesn't try looking for the device, either).

....

So, it won't drain your battery unless you leave Maemo Mapper on (without the cover on the display).

Using rfcomm this way may, in fact, be the (unfortunately) ideal solution to the dropout situation, until Nokia (or whoever) fixes the bug that causes the dropouts.

....

Ok, no worries then! Great, keep up the good work! :)

avdigital 2006-08-08 16:20

Quote:

Originally Posted by fpp
Damn. Crap. Blast.
The old URL indeed doesn't work anymore, but this new one doesn't either, at least not here over Europe... and I was going to try out maemo mapper on the holiday trip on thursday... Oh, well.

Strange, it works for me (in Europe)...

cjackiewicz 2006-08-08 18:01

Quote:

Originally Posted by lucaluca2
information the altitudine?
hi

Possible to show. But maybe in another window ("gps details" etc.)

fpp 2006-08-08 18:06

Quote:

Originally Posted by thigh bone
if you use firefox an easy way of getting the current url is to go to google maps and then open "Tools -> Page Info". Under the Media tab you can then see the urls for each square on the map.

Then just remove the number after mt and replace the x, y and zoom values with %d to get:
http://mt.google.com/mt?n=404&v=w2.17&x=%d&y=%d&zoom=%d

looks like the one in the earlier post had an extra % in there

Thanks a lot for spotting it, that was the problem. Phew :-)

avdigital 2006-08-08 18:37

Quote:

Originally Posted by avdigital
Strange, it works for me (in Europe)...

Sorry, the link I did post was indeed wrong. I used the good one on my Nokia. Thightbone link is correct.

fpp 2006-08-08 20:04

Well you had me in a bind for a while there, but now all is well again :-)

ReinhardE 2006-08-09 15:09

Patch for Inverted Maps (Night Design)
 
2 Attachment(s)
It should be possible now to select a font size for the announcement popup.

fpp 2006-08-09 20:43

OT aside - sorry if it's been asked before, but what is that red icon up in the toolbar in your screenshots ?

gnuite 2006-08-09 22:04

Quote:

Originally Posted by fpp
OT aside - sorry if it's been asked before, but what is that red icon up in the toolbar in your screenshots ?

That's the Google Talk presence indicator, which represents your online/offline/away status. I think you need to have a Google Account set up in the Nokia 770 in order to use it. Red with a slash means "Offline"; solid green means "Online".

fpp 2006-08-09 22:23

Thanks ! I've never used GTalk (or Gizmo), just waiting for Taioca to support plain SIP, so I'd never seen it...

bac522 2006-08-10 13:21

Not sure where to put suggest on improving Maemo Mapper but I used it the other day and loved the thing. What would be a cool feature is dynamic map rotation so that the direction you are heading always comes from the top down, that way when a waypoint comes up you quickly know whether it's a left or right turn. Sure the banners pop-up but I don't like taking my eyes off the road for too long even to read them. Of course flite might eliminate the need for this feature, but that isn't available for 2006 OS yet.

gnuite 2006-08-10 16:30

Quote:

Originally Posted by bac522
Not sure where to put suggest on improving Maemo Mapper but I used it the other day and loved the thing. What would be a cool feature is dynamic map rotation so that the direction you are heading always comes from the top down, that way when a waypoint comes up you quickly know whether it's a left or right turn. Sure the banners pop-up but I don't like taking my eyes off the road for too long even to read them. Of course flite might eliminate the need for this feature, but that isn't available for 2006 OS yet.

See Feature Request Track Item #20 both for the feature request corresponding to your suggestion and as an example of how/where to submit feature requests.

mvwood 2006-08-11 05:58

Hi

I have a problem with the maemo mapper and the bluetooth gps.
the problem i encounter are after say 30 sec. is that it looks like the connection is stil running but it is not. the strange thing is when i close the cover and op it agian then the bt reconnects again for about a min or 2 and then agian it freezes.

I installed the latest versions of:

Maemo Mapper v1.1
Maemo Bluetooth Plugin version 0.5.0,

and use a Oasis Media Bluetooth GPS Receiver its the same as the ADAPT AD-300 Bluetooth GPS.

any one got an idea ? how to solve this problem...

thanks

mark

chrwei 2006-08-11 13:10

did you add the hci reset line to sudoers?

bac522 2006-08-11 13:24

Quote:

Originally Posted by gnuite
See Feature Request Track Item #20 both for the feature request corresponding to your suggestion and as an example of how/where to submit feature requests.

Thank you.

tdmajic 2006-08-11 20:01

is there an option on maemo mapper to see how miles the trip is & also an option 2 change the route than the one supplied? thankx

gnuite 2006-08-11 20:40

Quote:

Originally Posted by tdmajic
is there an option on maemo mapper to see how miles the trip is & also an option 2 change the route than the one supplied? thankx

There is not yet a feature to show how many miles are left in the route.

I'm not sure exactly what you're asking in your second question. To load a new route, use the "Route -> Clear" menu item, then "Route -> Open..." or "Router -> Download..." to load a new route.

tdmajic 2006-08-12 00:45

On most mapping programs I use i.e. microsoft streets and trips, you can change the route by selecting either shortest, no tolls, quickest and so forth. After playing w/ the maemo mapper for a awhile I figured out it doen't offer those options yet. Even with out them (options) it still will be an invaluable tool for as go through cities around the country!! Thankx to the developers for putting the time in to make small minor miracles like these happen. :D

gnuite 2006-08-12 04:52

Quote:

Originally Posted by tdmajic
On most mapping programs I use i.e. microsoft streets and trips, you can change the route by selecting either shortest, no tolls, quickest and so forth. After playing w/ the maemo mapper for a awhile I figured out it doen't offer those options yet. Even with out them (options) it still will be an invaluable tool for as go through cities around the country!! Thankx to the developers for putting the time in to make small minor miracles like these happen. :D

Unfortunately, Maemo Mapper doesn't actually generate any directions. It just defers to Google Maps for the directions, and currently Google Maps doesn't offer any route options. Maybe someday it will...

MaxP 2006-08-16 20:38

Anyone have any idea as to how to get maemomapper to fetch the same maps as google maps does? I would like to download and view some non uk/us maps which don't appear to be available on maemomapper .

PS Just got my 770 - it's excellent.

tdmajic 2006-08-16 20:48

here's a quick ? bout mm. when auto dn ld is on & IT SAVES ALL THE ZOOM LEVELS to the 770 while connected to the internet, can mm retreive those same zoom images while not connected to the internet ? also if i save the route does that save the map images too? when traveling i don't always have access to the net. thanks.


-Derrick

tdmajic 2006-08-16 20:58

Quote:

Originally Posted by MaxP
Anyone have any idea as to how to get maemomapper to fetch the same maps as google maps does? I would like to download and view some non uk/us maps which don't appear to be available on maemomapper .

PS Just got my 770 - it's excellent.

i believe you have to connected to the internet to dn load any maps. you'll need to turn on auto-down load along w/ having a map url entered in the map section of the of the settings menu. if you just to just dn load some maps try googleing some & then save them as a jpeg image.

gnuite 2006-08-16 21:00

Quote:

Originally Posted by tdmajic
here's a quick ? bout mm. when auto dn ld is on & IT SAVES ALL THE ZOOM LEVELS to the 770 while connected to the internet, can mm retreive those same zoom images while not connected to the internet ? also if i save the route does that save the map images too? when traveling i don't always have access to the net. thanks.

It can't "retrieve" maps without access to the internet, no. And it doesn't save map data automatically when you save a route - try "Maps -> Download Along Route" in the menu (need internet access).

MaxP 2006-08-16 21:16

Quote:

Originally Posted by tdmajic
i believe you have to connected to the internet to dn load any maps. you'll need to turn on auto-down load along w/ having a map url entered in the map section of the of the settings menu. if you just to just dn load some maps try googleing some & then save them as a jpeg image.

What I mean is that if I view a country in google maps such as Australia I can see roads, but in maemomapper there are only roads for the UK and US. I believe this is what google maps used to be like, so it is as if the url I am using for the API is out of date - or google is keeping it that way. Look at Australia in maemomapper and then google maps to see if you get the same behaviour .

tdmajic 2006-08-16 21:27

[
Quote:

Originally Posted by MaxP
What I mean is that if I view a country in google maps such as
Australia I can see roads, but in maemomapper there are only roads for the UK
and US. I believe this is what google maps used to be like, so it is as if the url I
am using for the API is out of date - or google is keeping it that way. Look at
Australia in maemomapper and then google maps to see if you get the same
behaviour .

QUO
Quote:

Originally Posted by MaxP
What I mean is that if I view a country in google maps such as
Australia I can see roads, but in maemomapper there are only roads for the UK
and US. I believe this is what google maps used to be like, so it is as if the url I
am using for the API is out of date - or google is keeping it that way. Look at
Australia in maemomapper and then google maps to see if you get the same
behaviour .

TE=MaxP]What I mean is that if I view a country in google maps such as Australia I can see roads, but in maemomapper there are only roads for the UK and US. I believe this is what google maps used to be like, so it is as if the url I am using for the API is out of date - or google is keeping it that way. Look at Australia in maemomapper and then google maps to see if you get the same behaviour .[/QUOTE]
i understand what ur asking now. let me look & see

gnuite 2006-08-16 21:35

Quote:

Originally Posted by MaxP
What I mean is that if I view a country in google maps such as Australia I can see roads, but in maemomapper there are only roads for the UK and US. I believe this is what google maps used to be like, so it is as if the url I am using for the API is out of date - or google is keeping it that way. Look at Australia in maemomapper and then google maps to see if you get the same behaviour .

The current URL used by Google Maps is http://mt0.google.com/mt?n=404&v=w2.21, so try using "http://mt0.google.com/mt?n=404&v=w2.21&x=%d&y=%d&zoom=%d" as your "URL Format" in Maemo Mapper.

tdmajic 2006-08-16 21:45

Quote:

Originally Posted by gnuite
The current URL used by Google Maps is http://mt0.google.com/mt?n=404&v=w2.21, so try using "http://mt0.google.com/mt?n=404&v=w2.21&x=%d&y=%d&zoom=%d" as your "URL Format" in Maemo Mapper.

Yeah that's the url I'm using. followed you're advice from earlier & found it in an earlier post. another ? if you don't mind. since mm needs internet access 2 pull up any maps, do i need to continue saving the map folders in my docs? using alot of memory. thanks

-Derrick

gnuite 2006-08-16 22:11

Quote:

Originally Posted by tdmajic
Yeah that's the url I'm using. followed you're advice from earlier & found it in an earlier post. another ? if you don't mind. since mm needs internet access 2 pull up any maps, do i need to continue saving the map folders in my docs? using alot of memory. thanks

If you want to be able to view the maps again later, then yes, you have to keep them in the flash file system.

tdmajic 2006-08-17 02:15

thanks once again 4 the insight.

-Derrick

MaxP 2006-08-17 06:49

Quote:

Originally Posted by gnuite
The current URL used by Google Maps is http://mt0.google.com/mt?n=404&v=w2.21, so try using "http://mt0.google.com/mt?n=404&v=w2.21&x=%d&y=%d&zoom=%d" as your "URL Format" in Maemo Mapper.

Gunite, many thanks for this (and for maemo mapper) - it does just what I want. For the record I was using:
"http://mt.google.com/mt?n=404&v=ap.6&x=%d&y=%d&zoom=%d"
I guess this was an older URL.

indio 2006-08-17 13:39

Hello everybody, and thank once more to gnuite for a wonderful app.

two questions:
1. It seems maemo mapper does not work with a proxy server. This is a serious disadvantage, some ppl only see the web through a proxy(including me ofcourse). Maybe it could just respect the $http_proxy var?
2. [irrelevant] How much time did it take you to code this app gnuite? I am very curious.

Thanks a bunch.

Luna 2006-08-17 15:10

Quote:

Originally Posted by gnuite
If you want to be able to view the maps again later, then yes, you have to keep them in the flash file system.

Keep in mind that the cluster size on the larger MMC cars will kill you. For instance, my metro area cached was was a total file size of around 57MB. Size on disk 760MB!

It would be nice if we can have areas in a compressed file that are looked at first then the filesystem based cache secondarily.

What would be even better would be a local http daemon that serves the data from a mps file . Fileformats are a pain sometimes:)

gnuite 2006-08-17 17:56

Quote:

Originally Posted by Luna
Keep in mind that the cluster size on the larger MMC cars will kill you. For instance, my metro area cached was was a total file size of around 57MB. Size on disk 760MB!

You can reduce file system internal fragmentation by using a smaller block size in your VFAT format. You can do this with the "-S" option of mkfs.vfat. I use a block size of 512 bytes.

If you are serious about cramming as many maps into your card as possible, you should use ext2 and use hard links to represent map tiles that are "the same data" - water maps are all solid blue, so you can save the additional 103 bytes per tile.

Other map storage mechanisms have been considered and discarded in favor of the RAM and CPU efficiency of using the file system (including adding and removing maps on-the-fly).

gnuite 2006-08-17 18:02

Quote:

Originally Posted by indio
Hello everybody, and thank once more to gnuite for a wonderful app.

two questions:
1. It seems maemo mapper does not work with a proxy server. This is a serious disadvantage, some ppl only see the web through a proxy(including me ofcourse). Maybe it could just respect the $http_proxy var?

Good idea - I'll look into it for the next version.
Quote:

Originally Posted by indio
2. [irrelevant] How much time did it take you to code this app gnuite? I am very curious.

Everything so far? Probably around 200-300 hours, including making/managing releases. Much more if you include online tech support. :)

The first version took less than 40 hours (a lot of that was spent learning about NMEA and the mercator projection). The remaining hours have been spent making everyone else happy by adding feature requests. :)

ioan 2006-08-17 18:20

Quote:

Originally Posted by Luna
Keep in mind that the cluster size on the larger MMC cars will kill you. For instance, my metro area cached was was a total file size of around 57MB. Size on disk 760MB!

format your card in fat32 (using windows). fat32 has the cluster size 4KB (4 times smaller than fat16).

Luna 2006-08-17 20:23

Quote:

Originally Posted by ioan
format your card in fat32 (using windows). fat32 has the cluster size 4KB (4 times smaller than fat16).

Oh yeah, a different cluster is the obvious solution (or like gnuite said use ext2 and write a proggy to ln all of the files with the same md5 to a common file). I was thinking of people possibly wanting to shuffle data of commonly used cities that do not understand this issue.

I've been playing with the idea of server. Like said, there is alot of redundant data. I could further subdivide the data and really clean house. Just rebuild the zoom level 0 and server up the rest in the 256x256 blocks.


All times are GMT. The time now is 21:18.

vBulletin® Version 3.8.8