{"id":91,"date":"2020-06-12T20:22:19","date_gmt":"2020-06-12T20:22:19","guid":{"rendered":"http:\/\/www.ridgeline-analytics.com\/?page_id=91"},"modified":"2021-01-05T06:29:47","modified_gmt":"2021-01-05T06:29:47","slug":"gpx-generator-for-mountain-project","status":"publish","type":"page","link":"https:\/\/www.ridgeline-analytics.com\/index.php\/gpx-generator-for-mountain-project\/","title":{"rendered":"GPX Generator for Mountain Project"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I built a little tool to help climbers find rocks, crags, routes and mountains and spend less wandering around. Mountain Project is a popular site used by climbers to find routes, and I used their API to allow users of the site to generate files compatible with GPS devices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"http:\/\/gpx.ridgeline-analytics.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Click Here to generate a <\/a><a href=\"http:\/\/gpx.ridgeline-analytics.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GPX<\/a><a href=\"http:\/\/gpx.ridgeline-analytics.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"> file<\/a><\/strong> with route names, descriptions, latitude and longitude, as well as other GPS data from your MountainProject todo list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a python script that hits the public-facing  <a href=\"https:\/\/www.mountainproject.com\/data\">MountainProject API<\/a> , reads the todo list for a username, and returns a GPX file with waypoints for each climb.   Simply load up your MountainProject todo list, Open it in Google Earth or your favorite GPS app, and you&#8217;ll see the routes and ratings for that sweet hand crack you&#8217;ve been eyeing, just like the image below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"306\" class=\"wp-image-92\" style=\"width: 600px;\" src=\"http:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example.png\" alt=\"\" srcset=\"https:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example.png 1844w, https:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example-300x153.png 300w, https:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example-1024x522.png 1024w, https:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example-768x391.png 768w, https:\/\/www.ridgeline-analytics.com\/wp-content\/uploads\/2020\/06\/example-1536x783.png 1536w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This app uses <a href=\"https:\/\/pypi.org\/project\/gpxpy\/\">gpxpy<\/a> to generate the GPS waypoints and XML schema.  It&#8217;s a <a href=\"https:\/\/flask.palletsprojects.com\/en\/1.1.x\/\">Flask<\/a> web application deployed on <a href=\"https:\/\/aws.amazon.com\/elasticbeanstalk\/\">AWS Elastic Beanstalk<\/a>.  If you&#8217;re interested in the source code, you can find it at <a href=\"https:\/\/github.com\/Sassberto\/MP-GPX\">https:\/\/github.com\/Sassberto\/MP-GPX<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I built a little tool to help climbers find rocks, crags, routes and mountains and spend less wandering around. Mountain Project is a popular site used by climbers to find routes, and I used their API to allow users of the site to generate files compatible with GPS devices. Click Here to generate a GPX [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","footnotes":""},"class_list":["post-91","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/pages\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":14,"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/pages\/91\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/pages\/91\/revisions\/210"}],"wp:attachment":[{"href":"https:\/\/www.ridgeline-analytics.com\/index.php\/wp-json\/wp\/v2\/media?parent=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}