CINXE.COM
Download relation in gpx/xml format with coordinates of nodes - Tagging help & support - OpenStreetMap Community Forum
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Download relation in gpx/xml format with coordinates of nodes - Tagging help & support - OpenStreetMap Community Forum</title> <meta name="description" content="When viewing a relation; I notice that “Download XML” link only contains a list of ways. When I “Download XML” for a way; I see list of nodes. When I download EACH NODE I finally see coordinates. To build a file that co&hellip;"> <meta name="generator" content="Discourse 3.3.2 - https://github.com/discourse/discourse version d51a9373b4d5906823a4f041e4edbc9bc9bf2881"> <link rel="icon" type="image/png" href="https://community-cdn.openstreetmap.org/uploads/default/optimized/1X/e9768dc0a7cbe8d58a55e515a89a6af817534bbf_2_32x32.png"> <link rel="apple-touch-icon" type="image/png" href="https://community-cdn.openstreetmap.org/uploads/default/optimized/1X/e9768dc0a7cbe8d58a55e515a89a6af817534bbf_2_180x180.png"> <meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff"> <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#111111"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover"> <link rel="canonical" href="https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726" /> <link rel="search" type="application/opensearchdescription+xml" href="https://community.openstreetmap.org/opensearch.xml" title="OpenStreetMap Community Forum Search"> <link href="https://community-cdn.openstreetmap.org/stylesheets/color_definitions_light_4_1_706800ab8d27c9103cea838044ed9e2df474ff73.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" class="light-scheme"/><link href="https://community-cdn.openstreetmap.org/stylesheets/color_definitions_dark_1_1_9b01044000c2561eb2c25f585f55cbf14207f11a.css?__ws=community.openstreetmap.org" media="(prefers-color-scheme: dark)" rel="stylesheet" class="dark-scheme"/> <link href="https://community-cdn.openstreetmap.org/stylesheets/desktop_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="desktop" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/checklist_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="checklist" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-details_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-details" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-lazy-videos_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-lazy-videos" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-local-dates_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-local-dates" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-narrative-bot_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-narrative-bot" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-post-voting_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-post-voting" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-presence_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-presence" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-reactions_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-reactions" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-saved-searches_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-saved-searches" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-solved_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-solved" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-translator_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-translator" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/footnote_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="footnote" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/poll_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="poll" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/spoiler-alert_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="spoiler-alert" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-post-voting_desktop_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-post-voting_desktop" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/discourse-reactions_desktop_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="discourse-reactions_desktop" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/poll_desktop_02766bd1cdd6472604beb46bcd02c72a7de36fa7.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="poll_desktop" /> <link href="https://community-cdn.openstreetmap.org/stylesheets/desktop_theme_1_299480a377b769d4062609d96e6b1cd0bcc76bc5.css?__ws=community.openstreetmap.org" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="1" data-theme-name="default"/> <link rel="alternate nofollow" type="application/rss+xml" title="RSS feed of 'Download relation in gpx/xml format with coordinates of nodes'" href="https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726.rss" /> <meta property="og:site_name" content="OpenStreetMap Community Forum" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://community-cdn.openstreetmap.org/uploads/default/original/1X/1ec32427766f2efdc81c1fd1a6879e4084bfd00d.png" /> <meta property="og:image" content="https://community-cdn.openstreetmap.org/uploads/default/original/1X/1ec32427766f2efdc81c1fd1a6879e4084bfd00d.png" /> <meta property="og:url" content="https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726" /> <meta name="twitter:url" content="https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726" /> <meta property="og:title" content="Download relation in gpx/xml format with coordinates of nodes" /> <meta name="twitter:title" content="Download relation in gpx/xml format with coordinates of nodes" /> <meta property="og:description" content="When viewing a relation; I notice that “Download XML” link only contains a list of ways. When I “Download XML” for a way; I see list of nodes. When I download EACH NODE I finally see coordinates. To build a file that could be copied to a Garmin device (GPX format) or viewable on a site like gpsvisualizer; becomes quite a tedious process. I use iD editor. Is there a method to more easily download relation and/or way data that includes coordinates of nodes in the download?" /> <meta name="twitter:description" content="When viewing a relation; I notice that “Download XML” link only contains a list of ways. When I “Download XML” for a way; I see list of nodes. When I download EACH NODE I finally see coordinates. To build a file that could be copied to a Garmin device (GPX format) or viewable on a site like gpsvisualizer; becomes quite a tedious process. I use iD editor. Is there a method to more easily download relation and/or way data that includes coordinates of nodes in the download?" /> <meta property="og:article:section" content="Help and support" /> <meta property="og:article:section:color" content="86e8d0" /> <meta property="og:article:section" content="Tagging help & support" /> <meta property="og:article:section:color" content="0088CC" /> <meta name="twitter:label1" value="Reading time" /> <meta name="twitter:data1" value="1 mins 🕑" /> <meta name="twitter:label2" value="Likes" /> <meta name="twitter:data2" value="1 ❤" /> <meta property="article:published_time" content="2024-11-16T16:29:28+00:00" /> <meta property="og:ignore_canonical" content="true" /> <script type="application/ld+json">{"@context":"http://schema.org","@type":"QAPage","name":"Download relation in gpx/xml format with coordinates of nodes","mainEntity":{"@type":"Question","name":"Download relation in gpx/xml format with coordinates of nodes","text":"When viewing a relation; I notice that “Download XML” link only contains a list of ways. When I “Download XML” for a way; I see list of nodes. When I download EACH NODE I finally see coordinates.\n\nTo build a file that could be copied to a Garmin device (GPX format) or viewable on a site like gpsvisu…","upvoteCount":0,"answerCount":1,"datePublished":"2024-11-16T16:29:28.327Z","author":{"@type":"Person","name":"fbax","url":"https://community.openstreetmap.org/u/fbax"},"acceptedAnswer":{"@type":"Answer","text":"Try <a href=\"https://wiki.openstreetmap.org/wiki/Overpass_turbo\">overpass<\/a> with recusion: <a href=\"https://help.openstreetmap.org/questions/55839/overpass-turbo-how-to-query-all-the-ways-in-a-relation\" class=\"inline-onebox\">overpass turbo : how to query all the ways in a relation - OSM Help<\/a>","upvoteCount":0,"datePublished":"2024-11-16T17:15:05.458Z","url":"https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726/2","author":{"@type":"Person","name":"PHerison","url":"https://community.openstreetmap.org/u/PHerison"}}}}</script> </head> <body class="crawler browser-update"> <header> <a href="/"> OpenStreetMap Community Forum </a> </header> <div id="main-outlet" class="wrap" role="main"> <div id="topic-title"> <h1> <a href="/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726">Download relation in gpx/xml format with coordinates of nodes</a> </h1> <div class="topic-category" itemscope itemtype="http://schema.org/BreadcrumbList"> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/c/help-and-support/tagging/71" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #86e8d0'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Help and support</span> </span> </a> <meta itemprop="position" content="1" /> </span> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/c/help-and-support/tagging/71" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #0088CC'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Tagging help & support</span> </span> </a> <meta itemprop="position" content="2" /> </span> </div> </div> <div itemscope itemtype='http://schema.org/DiscussionForumPosting'> <meta itemprop='headline' content='Download relation in gpx/xml format with coordinates of nodes'> <link itemprop='url' href='https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726'> <meta itemprop='datePublished' content='2024-11-16T16:29:28Z'> <meta itemprop='articleSection' content='Tagging help & support'> <meta itemprop='keywords' content=''> <div itemprop='publisher' itemscope itemtype="http://schema.org/Organization"> <meta itemprop='name' content='OpenStreetMap Foundation'> <div itemprop='logo' itemscope itemtype="http://schema.org/ImageObject"> <meta itemprop='url' content='https://community-cdn.openstreetmap.org/uploads/default/original/2X/2/20f6c7508cd8bb64ed4a4e5213b0bd3662479bfb.png'> </div> </div> <div id='post_1' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://community.openstreetmap.org/u/fbax'><span itemprop='name'>fbax</span></a> (fbax) </span> <link itemprop="mainEntityOfPage" href="https://community.openstreetmap.org/t/download-relation-in-gpx-xml-format-with-coordinates-of-nodes/121726"> <span class="crawler-post-infos"> <time datetime='2024-11-16T16:29:28Z' class='post-time'> November 16, 2024, 4:29pm </time> <meta itemprop='dateModified' content='2024-11-16T16:29:28Z'> <span itemprop='position'>1</span> </span> </div> <div class='post' itemprop='text'> <p>When viewing a relation; I notice that “Download XML” link only contains a list of ways. When I “Download XML” for a way; I see list of nodes. When I download EACH NODE I finally see coordinates.<br> To build a file that could be copied to a Garmin device (GPX format) or viewable on a site like gpsvisualizer; becomes quite a tedious process. I use iD editor.</p> <p>Is there a method to more easily download relation and/or way data that includes coordinates of nodes in the download?</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_2' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://community.openstreetmap.org/u/PHerison'><span itemprop='name'>PHerison</span></a> (P Herison) </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2024-11-16T17:15:05Z' class='post-time'> November 16, 2024, 5:15pm </time> <meta itemprop='dateModified' content='2024-11-16T17:15:05Z'> <span itemprop='position'>2</span> </span> </div> <div class='post' itemprop='text'> <p>Try <a href="https://wiki.openstreetmap.org/wiki/Overpass_turbo">overpass</a> with recusion: <a href="https://help.openstreetmap.org/questions/55839/overpass-turbo-how-to-query-all-the-ways-in-a-relation" class="inline-onebox">overpass turbo : how to query all the ways in a relation - OSM Help</a></p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_3' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://community.openstreetmap.org/u/Vinzenz_Mai'><span itemprop='name'>Vinzenz_Mai</span></a> (Vinzenz Mai) </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2024-11-16T19:32:09Z' class='post-time'> November 16, 2024, 7:32pm </time> <meta itemprop='dateModified' content='2024-11-16T19:32:09Z'> <span itemprop='position'>3</span> </span> </div> <div class='post' itemprop='text'> <p><a href="https://cycling.waymarkedtrails.org/">Waymarked Trails</a> could be an option, i.e.</p> <p><a href="https://cycling.waymarkedtrails.org/#route?id=76142&type=relation" class="onebox" target="_blank" rel="noopener">https://cycling.waymarkedtrails.org/#route?id=76142&type=relation</a></p> <p>But please be aware that a lot of routes are not very good to be used on a Garmin (or similar navigation device), because there are approaches, alternatives, gaps, …<br> I prefer an OSM based router software that can use <a href="http://waymarkedtrails.org">waymarkedtrails.org</a> as overlay and has got an option stick_to_cycleroutes like <a href="https://bikerouter.de">https://bikerouter.de</a></p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="1" /> <span class='post-likes'>1 Like</span> </div> </div> <div id='post_4' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://community.openstreetmap.org/u/fbax'><span itemprop='name'>fbax</span></a> (fbax) </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2024-11-16T23:12:53Z' class='post-time'> November 16, 2024, 11:12pm </time> <meta itemprop='dateModified' content='2024-11-16T23:12:53Z'> <span itemprop='position'>4</span> </span> </div> <div class='post' itemprop='text'> <p>Thanks <a href="https://community.openstreetmap.org/u/PHerison">PHerison</a>; I tried overpass and managed to figure out proper syntax for query in just a few minutes! Thanks!</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_5' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://community.openstreetmap.org/u/fbax'><span itemprop='name'>fbax</span></a> (fbax) </span> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2024-11-16T23:13:49Z' class='post-time'> November 16, 2024, 11:13pm </time> <meta itemprop='dateModified' content='2024-11-16T23:15:43Z'> <span itemprop='position'>5</span> </span> </div> <div class='post' itemprop='text'> <p><a href="https://community.openstreetmap.org/u/Vinzenz_Mai">Vinzenz_Mai</a>: The garmin device being used does not have navigation feature.<br> <a href="http://waymarkedtrails.org" rel="noopener nofollow ugc">waymarkedtrails.org</a> is not helpful in this case; trails I’m looking at are just paths and are not hilighted on this site.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> </div> </div> <footer class="container wrap"> <nav class='crawler-nav'> <ul> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/' itemprop="url">Home </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/categories' itemprop="url">Categories </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/guidelines' itemprop="url">Guidelines </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='https://wiki.osmfoundation.org/wiki/Terms_of_Use' itemprop="url">Terms of Service </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='https://wiki.osmfoundation.org/wiki/Privacy_Policy' itemprop="url">Privacy Policy </a> </span> </li> </ul> </nav> <p class='powered-by-link'>Powered by <a href="https://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p> </footer> <div class="buorg"><div>Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is unsupported</a>. Please <a href="https://browsehappy.com">switch to a supported browser</a> to view rich content, log in and reply.</div></div> </body> </html>