new osm-ph garmin map (release nov-2009)

2009-November-14

OSM Logo

Garmin Logo

I am pleased to announce the new release (20091114) of the OSM-PH Garmin GPS Map. This release is another important milestone for the OSM-PH Garmin GPS Map project.

Get the map here

This is the third release who graduated from our new release cycle with several major improvements. The general release cycle is every two months (1 month for pre-release testing and 1 month for the regular release). Big thanks to all those who tested and provided feedback.

What’s new in this release

  • data as of 20091114, thanks to all the 350 contributors
  • 45,000 ++ kilometers of roads
  • Sea  polygon!
  • Beta of Address search!

Known bugs

  • Full address search may not work as expected
  • Some islands are “flooded” (coastline data issue)
  • POI icons not visible using 3D mode in some units

Read on for the visual release log of this map.

Visual Release Log

Can you see the sea?

sea poly

Sea areas now rendered as dark blue polygon

Address search

address search

You can now use that “Find Places” search window.

Choose your own style

A new map style is added in the installer. Big thanks to Rally for providing additional TYP styles. You can find in the c:\Program Files\OSM-PH Garmin maps\” these files:

  • OSMPH_MINIMAL_TYP.exe
  • OSMPH_RALLY_TYP_v2.6.exe

To load any of the map style, simply double-click either of the file and then open MapSource.

typ_mosaic

Different map styles rendered in QLandkarte GT. Default map style (right), OSM-PH Minimal (lower left), Rally’s map style (upper right).

That’s it! Enjoy! As we prepare for the next batch of improvements, please continue updating the map and report bugs. Happy GPSing!

Get the map here


New OSM-PH Garmin map (20090513)

2009-May-13

OSM Logo
Garmin Logo
New OSM-PH Garmin routable map available here

What’s new in this release:

  • Data as of 20090513
  • 38,400 kilometers of roads
  • Fixed some routing problems
  • Better coastlines in several areas
  • Fixed registry causing install error in MapSource

Thank you to all the 195 ++ contributors. You too can help by reporting data errors, editing the map or join in our mapping party

Garmin Logo

Running on Nokia E61 via Garmin Mobile XT


DIY garmin routable map from openstreetmap data into mapsource (win) and roadtrip (mac)

2009-April-13

OSM Logo

As promised, here’s my follow-up how-to in making installers of OSM Garmin maps. My previous post outlines the process for making a routable map for Garmin GPS using mkgmap. For this post, I will guide you in how you can view the maps in Garmin’s desktop application MapSource and RoadTrip

Building the Garmin map

The routing functionality is now in the trunk version of mkgmap, so this time, we will use the trunk version. I also made a couple of changes suggested by other mkgmap developers.

Get latest trunk svn snapshot, in the terminal type the following:

mkdir mkgmap
cd mkgmap
svn co http://svn.parabola.me.uk/mkgmap/trunk trunk

Build the source

cd trunk
ant dist
java -jar dist/mkgmap.jar

Build the map
The exact command I use is below (remove the “\” and type the syntax in one line):

java -Xmx512m -jar dist/mkgmap.jar --code-page=1252 --tdbfile --gmapsupp \
--latin1 --country-abbr=PHI --country-name=PHILIPPINES --road-name-pois --add-pois-to-areas \
--no-poi-address --family-id=639 --family-name="OSM_PHIL" --overview-mapname=40000001 \
--route --description="OSM_PHIL" /path/to/your/osm/file/philippines.osm

mkgmap will create several files:

  • 63240001.img – the main map
  • 40000001.img – the overview map
  • 40000001.tdb – tdb file

We will use these files to create an installer for MapSource.

mapsource logo

Installer for Windows MapSource
To be able to view the maps within MapSource, we need to create a custom registry configuration. We will place the maps in c:/osm so the registry should instruct MapSource to read the files from this path.

Handcraft a registry information for MapSource

Open a text editor and paste these lines:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL]
"ID"=hex:7f,02
[HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\Families\OSM_PHIL\1]
"LOC"="C:\\OSM\\"
"BMAP"="C:\\OSM\\40000001.img"
"TDB"="C:\\OSM\\40000001.tdb"

regedit_shot

Save the file as 40000001.reg.

If you already saved your maps to c:\osm, you can double-click the 40000001.reg file to save the registry information.

You can now open MapSource to view the maps.

If you want (like me) to share your maps to other Mapsource users, it would be better to make an executable installer. This way, other users can easily install and view the maps within Mapsource and then upload directly to the GPS units.

Prepare an executable installer
I am using WinRar to create the executable file. The executable archive file simply extracts all the map data into c:/osm and then automatically add the registry information in the 40000001.reg file. The following screenshots explains the procedure (warning XP screenshots below):

Right-click on the directory of you map and click “Add to archive”.

Within WinRar’s “General” tab, select “Create SFX archive”.

winrar 1

In the “Advance” tab, click “SFX options” button.

winrar 2

In the “Advanced SFX options” “General” tab, type c:\osm in the “Path to extract” and in the “Run after extraction”, type c:\osm\40000001.reg

winrar 3

Click “OK” and WinRar will create a file with the “exe” extension.

roadtrip logo
For Mac’s RoadTrip
Garmin also has RoadTrip as a Mac version of MapSource. For adding the maps to Mac’s RoadTrip, you can use a simple Python-based app called Gmapibuilder . Just follow the instructions from the above link.

Here is Makati in RoadTrip (I actually prefer RoadTrip’s simpler interface than Mapsource):

roadtrip

Thanks to jan of phroadguide and the mkgmap users and developers for sharing the tips in this how-to.

UPDATE:
1. Changed svn url for trunk.
2. Revised mkgmap syntax and registry


DIY garmin routable map from openstreetmap data

2009-March-6

garmin gps

A new Openstreetmap Garmin Map of the Philippines is now available in my wiki. The latest update was based on 20090225 OSM data.

New in this update are:
- 33,000 km. of roads;
- more POIs and improved POI searching for roads and cities;
- improved road data in Mindanao;
- fixed problems with abbreviated POI names in Garmin Mobile XT .

Here’s the link for the direct download.

Some people asked me how to convert the OSM data to Garmin maps. There are several options you can do this. The following process outlines how I do it using mkgmap.

From the wiki: “mkgmap converts OpenStreetMap data into a map that can be loaded onto a Garmin GPS device. It does the conversion in one step without depending on any other program. It requires Java 1.5.”

The java environment makes it easy to prepare the map in any OS.

The process is in 4 general steps: build mkgmap, get data, convert data, transfer to gps. This process was tested using Ubuntu Linux and Mac OS (it should be the same with to WinXP). What you need are OSM data, java 1.5 0r 1.6, command terminal (command prompt in windows speak) and subversion (optional)

The text in this font is what you type in your terminal

Get mkgmap
You can get a daily snapshot of mkgmap from the website. Then, decompress the file. Open a terminal and type:


cd /path/to/your/mkgmap/directory
java -jar mkgmap.jar

The last command should give you the help text on usage and options.

However, current mkgmap development is in high gear and new features are added every week. This is why is use the nod branch.

To get latest nod svn snapshot, in the terminal type the following:


mkdir mkgmap
cd mkgmap
svn co http://svn.parabola.me.uk/mkgmap/branches/nod nod

Building the source

cd nod
ant dist
java -jar dist/mkgmap.jar

Get the data
Now you want to get the latest OSM data, you have several options.
1. I previously wrote about using OSM for your website. Follow the steps from 1 to 2. From the export tab, select “OpenStreetMap XML Data” option to get the OSM data. This is OK if you want to get the data for small areas.

2. For large areas, use the the HTTP API or osmxapi

3. Or simply get them from CloudMade. CloudMade provides free country-wide download of OSM’s weekly data dump.


wget http://downloads.cloudmade.com/asia/philippines/philippines.osm.bz2

Decompress the file.

Convert the data to Garmin img
Again in the terminal, run the following command:


java -jar mkgmap.jar [options] data.osm

The exact command I use is below (remove the “\” and type the syntax in one line):


java -Xmx512m -jar mkgmap.jar --code-page=1252 \
--tdbfile --gmapsupp --latin1 --country-abbr=PHI \
--country-name=PHILIPPINES --road-name-pois --route \
--description="Openstreetmap Philippines" \
/path/to/your/data/philippines.osm

This will produce a file called 63240000.img, 63240001.img, 63240000.tdb and gmapsupp.img. You need to transfer the gmapsupp.img file to your GPS unit.

Transfer the map to your Garmin unit
My Garmin eTrex Legend Cx micro-SD Card can be directly read as another filesystem on my Linux. Just copy the map to the file Garmin/gmapsupp.img. You can also use sendmap to transfer the gmapsupp.img to your unit.

Now go out and test your OSM map!

Lately, I have been struggling in creating a Mapsource installer. I haven’t found a straight forward way without using CGPSmapper utility. Any tip on this? I will post another entry when the issue with Mapsource is resolved.

Another blog I plan to do is making this map:

San Mateo made with OSM Map Composer

Note: Most of the instructions above were copied from the OSM wiki

UPDATE: Several suggestions from the mkgmap-dev list.


free garmin gps map from osm philippines

2009-January-21

Get Garmin GPS Routable map of the Philippines from my wiki.

garmin gps
Latest data update: 30,000 kilometers of roads as of January 14, 2009