Quick & dirty KML to OSMAnd track and waypoint conversion utility

118 views
Skip to first unread message

Tom Musolf

unread,
Aug 23, 2020, 6:40:24 PM8/23/20
to OsmAnd
I do a lot of trip planning on google maps, creating a custom my map for each trip with tracks/lines and waypoints.  I've always exported the google map as a KML, done a conversion to GPX using one of the many utilities available for that purpose and finally take the GPX file and drop it into the appropriate OSMAnd tracks directory on my android phone.

The problem I've always had with the KML to GP conversion is all the track colors and the icon symbols and colors are lost in translation, everything ends up a default color and symbol in OSMAnd.

I finally sat down and wrote a quick python utility to do the KML to GPX conversion directly using a table to translate a subset of KML icons to approximate OSMAnd equivalents.

I'm sharing the code in case it's useful to anyone else.
KMLtoOSMAndGPX.py

Harry van der Wolf

unread,
Aug 24, 2020, 5:42:46 AM8/24/20
to osmand
Thanks for sharing it with us.


Harry

(This reminds me to update my Osmand-UKpostcodes again).


Op ma 24 aug. 2020 om 00:40 schreef Tom Musolf <tom.m...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/9183838c-128b-40d0-b1e9-2c132b0b4b46n%40googlegroups.com.

Tom Musolf

unread,
Apr 29, 2023, 2:24:19 PM4/29/23
to OsmAnd
In case anyone is googling for this type of utility and runs across this post I've done a significant rewrite of this utility.  It's now hosted on github.

Dane christian Neilson

unread,
Nov 29, 2023, 4:30:27 AM11/29/23
to OsmAnd

MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
LOAN DEAL
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+14234753476
Reply all
Reply to author
Forward
0 new messages