In May, I went to Oregon on vacation, and in preparation for the trip I put together a custom map of restaurants and locations using Google Maps. This was pretty easy, and certainly helped me visualize where all the restaurants were in relation to each other, however, this wasn’t going to help me when actually walking around town. What I really needed was a way to get this Google Map onto my N95. That way I could look up the locations and directions using my mobile’s built-in mapping features.
Luckily, this wasn’t hard to do. Google Maps uses the KML format for all of its custom maps and the Nokia N95 uses the LMX format for landmarks, so all I had to do was come up with a converter from one format to the other. Both formats are just XML files, so I figured the easiest, most portable way to do the conversion was using XSLT.
Of course, you can’t really expect most people to download a KML file, download an XSL file, run them through an XSL processor, then upload the result to your device. So I created a simple web form that makes things a little easier for testing and development.
Just enter the URL for your KML or GeoRSS feed, and then select the type. Once you click the update button, it will generate a link where you can download the LMX file. If you want to download the LMX file straight to your N95, then you can do that using the generated DataMatrix code.
This is definitely something developed in about an hour, and it’s only had limited testing, so there are no guarantees this will work for everyone, and I’m interested in any bugs you find or enhancements you’d like to see in the future.