Plan a road trip and navigate

143 views
Skip to first unread message

Tee Jay

unread,
Sep 29, 2019, 4:56:21 AM9/29/19
to Osmand
Hello folks,

I have planned a Fall Road Trip next month and took a few weeks to plan the trip on Google's My Maps. Being a Fall road trip, the goal is not just to reach the destination but how you reach the destination, so I don't really need route optimization.

Just recently I realized that there is absolutely no way that I can use my planned trip in My Maps (google) for navigation purpose. It defeats the purpose of the trip planning concept/feature.

So I am here to ask the users if such option is available in OsmAnd for android?
- Can I plan the trip in OsmAnd, save and then use the same data for navigation purpose?
- Is there any chance that I can import kml/kmz file from My Maps to OsmAnd and use it for navigation?
- The page (https://osmand.net/features/trip-planning#Trip_planning_iOS) describes trip planning for iOS but there is nothing said about the android. I will be using Pixel XL. It has Trip recording instead.

Many thanks in advance.

Bart Eisenberg

unread,
Sep 29, 2019, 11:14:29 AM9/29/19
to Osmand
Yes, you can plan the trip in OsmAnd, save the route as a GPX, and use it later for navigation.  That would be the optimal approach.

Yes you can export a KML/KMX from Google My Maps and bring it into OsmAnd.  Directly, I think, or you may need to convert it to GPX. Note that when navigating, you'd be following only the GPX, not the underlying OsmAnd map, so turn-by-turn navigation won't be what you're use to. 

These two tutorial videos might prove useful: 

More tutorials here: 

Akkana Peck

unread,
Sep 29, 2019, 2:11:39 PM9/29/19
to Osmand
Bart Eisenberg writes:
> Yes you can export a KML/KMX from Google My Maps and bring it into OsmAnd.
> Directly, I think, or you may need to convert it to GPX. Note that when

Last I looked, OsmAnd doesn't read KML/KMZ. But you can use gpsbabel
to convert kml to gpx:

gpsbabel -i kml -f file.kml -o gpx -F file.gpx

If it's kmz, you have to gunzip it first to get a kml; gpsbabel
doesn't handle kmz natively.

...Akkana

fredf

unread,
Sep 29, 2019, 2:43:23 PM9/29/19
to Osmand
I'm not sure what you mean by "navegation purposes" so my suggestion may not be relevant. What I do for an area I am going to visit  is set points of interest in My Google Maps > export them to Route Converter > convert them to gpx format > export that file to OsmAnd/Tracks where I can then view them with their labels. I then have a cluster of points of interest displayed on the OsmAnd map that I can use offline and can see where I am relative to each POI; and even navigate to each one. Additionally I use the Wikipedia download for that map to view detailed info about points of interest near or at my wayponts, again offline. I am not trying to have OsmAnd lead me to each waypoint as that would be mostly a waste of time but rather show me what I am near, in what direction I need to go and what is there when I arrive.




On Sunday, September 29, 2019 at 1:56:21 AM UTC-7, Tee Jay wrote:

klaeufer

unread,
Jun 24, 2020, 12:04:45 AM6/24/20
to OsmAnd
Hi, it's actually working...partially.

After spending all day writing Python code for a proper KML to GPX conversion, I finally tried importing a small dataset:


OsmAnd imports elements name and Point, but not ExtendedData, where a lot of useful information is typically stored. GpsBabel also seems to lose those.

So I'll keep working on my conversion script, which folds the ExtendedData into the GPX desc element (see attached screenshot).
Screenshot_2020-06-23-19-27-20.jpg

Bart Eisenberg

unread,
Jun 24, 2020, 1:41:43 AM6/24/20
to OsmAnd
I think.I see what you mean.  I imported the KML you linked above and got a set of Favorites, each a Michigan campground. But without the descriptions or hours.

klaeufer

unread,
Jun 24, 2020, 2:23:40 AM6/24/20
to OsmAnd
Exactly! That info is under ExtendedData.

Here is what I got done for today:


So far, it works for the ExtendedData found in the USFS Recreation Opportunities data. I'll have to add support for other ExtendedData schemas and customizable mappings from SimpleData attribute names to display names, e.g., OPENSTATUS -> Open/closed.

The MI DNR campground data doesn't seem to have much info beyond location and number of campsites. ;)
Reply all
Reply to author
Forward
0 new messages