![]() |
Quote:
|
Thanks Gnuite for your reply. I bow to your trully elite C skill :).
I am trying to get some basic information through my GPS receiver using python. What I want to do is just get my current position, compare it with another waypoint's coordinates and get the distance. Could point our some documentation I could study? I am too new to GPS so I dont know where to start. I think getting just the difference of two coords(the current fix and an arbitrary point) will be less difficult than navigating a map. |
Quote:
|
Quote:
This is just for discussion though. A MPS file base server is the real way to go if I put any time into this. Gnuite's excellent work and my current work obligations will make this a hard task to truely begin :) BTW, are jpegs decoded by software or in hardware? |
Quote:
What? You cannot read text that is quarter point in size ? :) |
Quote:
|
The headers say png.
I did a little test to see the level of redundancy in my level 0 folder. Here are the stats: 169 folders, 16900 files total, 12355 distinct files. I did this via MD5 hash comparision. Now I need to split each of the 16900 files into 4 or so separate images and see how it pans out. |
Quote:
|
Quote:
Once you have your current position (from, e.g., the RMC sentence in the NMEA protocol), it's easy to calculate the surface distance between two points - there are numerous code examples on the web. The code for maemo mapper is not all that complex, especially the parts that do the NMEA parsing and geographical calculations. The hard part is the matter of proper UI design considering the form factor. |
are there any other gps programs that can be used on the n770? mm is a really cool app. but i really can't depend on the routing portion of the app. uses the long way all the time.
|
How do people manage their maps? I won't be using the 770 'online' whilst on the road and therefore want to predownload as much as possible. I've tried doing a download along a popular route (Plymouth to London) but it was taking so long I had to cancel it.
Is there a better way to predownload? Is it possible to get all maps for the UK? If so how big would that download be? Lastly are there any tips for the optimal zoom levels to download? |
Quote:
-i |
Awesome, I was just about to write an app to do that
|
OMG, thank you!! Thank you!! :)
|
What's the best way to get maps for say all of London? The following link seems to cover much of Greater London:
EDIT: Ok so I didn't realise this and maybe a few others didn't: In Maemo Mapper if you zoom out to encompass an area you wish to download it will determine the top left and bottom right coordinates. You can then set the download area zoom level to the desired level (eg 2) and it will get all the maps required. |
Quote:
|
Quote:
Before (8kb sector): /media/mmc1 $ du -ks .??* * 144 .archive 8 Audio clips # this is an empty directory! 46768 backups 4480 Documents 2144 Images 395296 maemo-mapper 11928 supertux 192 tuxpaint After (1kb sector): /media/mmc1 $ du -ks .??* * 86 .archive 1 Audio clips # this is an empty directory! 46675 backups 3813 Documents 2033 Images 293338 maemo-mapper 7783 supertux 120 tuxpaint |
Maemo-Mapper's cousins for PSP and Nintendo DS
PlayStation Portabel (PSP) now has an application similiar to Maemo-Mapper:
http://www.pspaccess.net/modules.php...rticle&sid=595 http://www.youtube.com/watch?v=_nitCHViaCU And Nintendo DS: http://www.natrium42.com/blog/?p=31 Some features of these might be interesting for Maemo-Mapper. |
Quote:
from a 1GB card (fromatted with FAT32 and logical sector size 512 bytes) The 1 GB card: /dev/sdc1 1017268 761980 255288 75% /USBc1 The (uncompressed) backup file (ls -l): 584038400 2006-08-25 12:50 Maps.tar I tested the new 2 GB card via fsck -v /dev/sdc1 and was told that the logical sector size is 512 bytes. So I untared the backup and to my surprise the MMC card was full, before everything was backed up. That was the time when I realized that the minimum allocation size for a file is cluster size (which was 32KB) and not logical sector size. By formatting the card with mkfs.vfat -S 512 -s 1 /dev/sdc1 one achieves 512 bytes logical sector size (-S 512) and 1 logical sector per cluster (-s 1), and therefore 512 bytes per cluster. After restoring my tar file, it took only 27% of disk space: The 2 GB card: /dev/sdc1 2007789 534883 1472906 27% /USBc1 The bad news: my Nokia phone (symbian) cannot read the card any more :( |
For generating routes and directions can anyone point me to a site that allows you to specify a preference for certain roads or ways to your destination?
Google generates one route but I'd prefer to travel a slightly different route but have no options available to specify waypoints. |
The Marengo Route Planner at http://www.marengo-ltd.com/map/ lets you design your own route. Unfortunately, you have to massage the final GPX file to change the "rte" specs to "trk" and add a <trkseg></trkseg> pair.
-F |
Quote:
|
These threads are getting a bit long but earlier Gnuite responded to my similar request suggesting that at present smaller sections of the route can be created which are then loaded one after the other. Alternatively the route segments can be edited manually to remove the end/beginning of segments resulting in one route.
It is a bit fiddly but works. I use Google Earth to get the co-ordinates of my POIs and run Gnuite's prog to generate the route segments. I don't bother about the extra POI at the end of segments so I just load them one after the other and save as a single long one. These routes took me through Europe this summer UK-Italy-Hungary-UK. Kudos to Gnuite, yet again. |
Overwrite corrupt/incomplete map files
I'm not sure if anyone else has encountered this problem: Sometimes during the map download if the internet connection gets interrupted and causes the map file not to load completely. Part of it is still saved in the MaemoMapper file storage directory, thus Mapper thinks it has the map. However, Mapper does not show that particular map file. (I guess that's because it is corrupt and it detects it during loading the map.)
What I end up doing was hooked up 770 to PC and using file manager (maps are saved in MMC card) browsed through all the map files... and deleted the ones that were corrupt/incomplete. After that Mapper did redownload the maps that were missing. Gnuite: Can you add couple lines of code that checks the file, if it is corrupt or incomplete (or if that is not possible then somehow detect situation in Mapper when it did not load and show a specific map file properly?), and then redownload the map? There is somewhat similar request over here: http://www.internettablettalk.com/fo...ead.php?t=2899 That might be a good addition as well to force (re)download maps by area, similar to the function already in Mapper download maps by area... |
Quote:
I use simple find commands (from a linux host) for purging the repository: Code:
#!/bin/sh |
Gps
Today have bought Nokia LD-3W. Works well.
Next question - how can I download maps from Google? This link is not working anymore (tried from laptop's Firefox it - got HTTP/404): http://mt0.google.com/mt?n=404&v=w2.....108180&zoom=2 It looks like that now actual map's URI are: http://kh1.google.com/kh?n=404&v=9&t=trtqttrrqqrssr How can I download particular area of map? |
Quote:
http://mt0.google.com/mt?n=404&v=w2....0&y=15&zoom=12 Quote:
Quote:
|
Quote:
|
map torrents
So I downloaded my state (NJ) all even number zoom levels. Granted NJ is a small state, but it took up 446 MB (2.4 GB on disk on NTFS) and on a FAT 32 MMC it's looking like it's going to take about 600 MB (not done copying yet). Has anyone else had the idea to download all the states and torrent them? Obviously it wouldn't fit on a MMC card, but there are laptop hard drives that use little enough power that they can be run off USB alone, or certainly off just a power inverter in the car (or just grab the maps you want for where you're going off your computer).
My completely uneducated guess would say all of the US could be stored on in about 100gb, perhaps less if gnuite was willing to slightly modify the program to allow for dynamic resizing of maps, or perhaps import from say... streets and trips? If M$ can fit all of it's driving data on 1 650 MB CD, maybe there's a way to convert all that into something MM can understand? just an idea for those of us w/o data on our cell plans... thoughts? |
Quote:
Unfortunately, it would run slower than molasses on a Nokia 770, or it would look considerably uglier than what Google Maps provides (admit it - TomTom's "maps" are ugly). There is no way that Maemo Mapper could generate images as pretty and readable as those which Google Maps provides without expending an unreasonable (and likely unusable) number of CPU cycles, especially without hardware floating point operations. Hell, even Google Maps admits its complex to generate aesthetically pleasing maps on-the-fly; that's why they pre-render the maps and store the PNGs on network drives. That's what made their web site so much slicker than MapQuest or Expedia. It would be near impossible to provide operation as smooth as Google Maps if you were generating maps on-the-fly from vector data. Furthermore, the design for a "Vectorized Maemo Mapper" would be so completely different that, if such an effort were engaged upon by some entrepreneurial lads with more time on their hands than I have, I would suggest that it create a product separate from Maemo Mapper, so as not to unnecessarily increase the memory requirements of the application for those who prefer raster maps to vector maps. It could take the form of a #include-controlled separate build, or as a minimal web server that could serve tiles based on vector data. In any case, I'm happy with raster images and do not have any motivation to sacrifice anti-aliased beauty by trying to modify Maemo Mapper to support vector data. Maemo Mapper is GPL, though, so feel free to contribute if you wish. |
Quote:
|
fair enough, wasn't even sure if it was possible (was hoping though) ahh well
|
Quote:
Partly, I was trying to provide justification for why I'm not going to try to implement it in Maemo Mapper. :) P.S. For the record, I don't have a data plan, or a cell phone at all, and at the exhorbitant rate these cell plans go for, I probably never will, so I'm in the same boat as you. I bought a 1 GB memory card, and I used to fill it to the brim with maps, but then I traded them in for a bunch of my seinfeld episodes, and now I only download maps as needed (e.g. using "Download Along Route" when I'm going on a trip). |
I haven't been on these forums for a while, so I still have the old version of my 770 and MaemoMapper. I'll be upgrading soon, but I was just wondering if it's possible to some how modify the routes that MaemoMapper gives you?
|
Hello,
can someone test a new version poi for mm? Changes: - fix locale problem ("," as decimal separator) - new option: Edit poi, for editing label, description, category and delete Download: http://eko.one.pl/files/n770/maemo-m...i/maemo-mapper -- Cezary |
Quote:
Good work! Larry |
Quote:
-- Cezary |
I'm getting some bad output from your web service that is not allowing maemo mapper to download routes.
If you look at the very end of this gpx output the <desc> contains alot of garbage that causes maemo mapper to give the error "Error Parsing GPX file." http://gnuite.com:8080/cgi-bin/gpx.c...er%20elk,%20nc When i remove the gargabe and upload the file to my 770 it works great. There seems to be a parsing error in your web service. Thanks. |
1 Attachment(s)
Next small step: directions & altitude.
-- Cezary |
this is may sound pretty dumb, yet I have to ask. Do you have to be online to retreive maps from the flash memory? Also can dn load let's say Chicago in all the zoom levels & save them to a memory card & retreive them w/out being online to see all the zoom levels? thanks
|
| All times are GMT. The time now is 21:18. |
vBulletin® Version 3.8.8