maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Announce- Roadmap openstreetmaps.org support in testing (https://talk.maemo.org/showthread.php?t=18683)

kernelpanic 2008-04-03 20:45

Announce- Roadmap openstreetmaps.org support in testing
 
<EDIT> The test version has been removed pending the release of Roadmap-1.1.0i. Which will be this month. (The OSM proxy used for the test is down anyway. But Roadmap worked well. So OSM downloads are coming!)
</EDIT>


Hello All,

I've got a new release of Roadmap out with preliminary(i.e.- command line) support for generating maps on the device from openstreetmaps.org data. This is an upstream change which I've merged in. It seems to work fairly well. Soon the map download process will be GUI and able to automatically download maps based upon GPS location. But I want to make sure the map downloading works first;).

If you want to try it-
1. install wget. ('apt-get install wget' as root) It's required to download maps. This version of Roadmap won't install without it.
2. go <LINK REMOVED> and install the roadmap-1.1.0i.OSMtest package.

To generate maps (from the release notes)-

This release is a test of onboard map generation from OpenStreetMaps.org data. It is not a production release as map generation is via command line tool.

However users outside the U.S. are invited to try it and report their results. To generate maps for an area open xterm and do-
$ mkdir /media/mmc1/roadmaps
(create a directory to store maps)
$ buildmap_osm <lat>,<lon>:<radius>

for example-
$ buildmap_osm 51.5,-0.125:5km

would give you a 5km circle around London. It uses an intermediate server to get the data from OSM in binary format. You can specify the server with the -s flag. The default server is the symbianos.org 'Where Am I' project. (Check that out too. It's cool!) If you have problems generating maps for an area you may need to increase the address bits paramater via the -b flag(The default is 19). You can also specify the location of the generated maps via the -m flag(The default is /media/mmc1/roadmaps.)

After generating new maps, you'll need to restart roadmap. As long as the generated maps are in /media/mmc1/roadmaps or /media/mmc2/roadmaps, they'll be seen automatically.


This is a stab at making Roadmap more useful to users outside the U.S. Who knows? Once maps work, if I can get some volunteer translators I can add Internationalization...

Cheers,
kernelpanic

<edit>
here's the obligatory screenshot (showing London maps generated on device from OSM data)-
https://garage.maemo.org/frs/downloa...reenshot01.jpg
</edit>

lardman 2008-04-04 09:07

Re: Announce- Roadmap openstreetmaps.org support in testing
 
Just tried it, either the lat long I got off the internet is wrong or it downloaded maps further south than I wanted (not too far though).

Will have a play with it when I can use the GPS.

Good work :)

italodance 2008-04-04 17:24

Re: Announce- Roadmap openstreetmaps.org support in testing
 
is it only for europe?

i want asia! possible? :confused:

kernelpanic 2008-04-04 18:08

Re: Announce- Roadmap openstreetmaps.org support in testing
 
Quote:

Originally Posted by italodance (Post 165080)
is it only for europe?

i want asia! possible? :confused:

Anywhere openstreetmaps.org has data...
I've downloaded Tokyo before.

The tricky thing is the -b flag. (Larger number makes more+smaller tiles.)

It defaults to 19. But denser areas may require a larger number. (I did get all of London with '-b 23' Shouldn't get much denser.)

cheers,
kernelpanic


All times are GMT. The time now is 06:16.

vBulletin® Version 3.8.8