{"id":3709,"date":"2008-06-28T12:27:58","date_gmt":"2008-06-28T16:27:58","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=3709"},"modified":"2008-06-28T12:30:28","modified_gmt":"2008-06-28T16:30:28","slug":"bbtrackerwpt-created-gpx-files-of-named-waypoints-from-bbtracker","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2008\/06\/28\/bbtrackerwpt-created-gpx-files-of-named-waypoints-from-bbtracker\/","title":{"rendered":"bbtrackerwpt &#8211; create GPX files of named waypoints from bbtracker"},"content":{"rendered":"<p>I like <a href=\"http:\/\/bbtracker.org\/\">bbtracker<\/a> -it&#8217;s a very simple GPS track logger for the <a href=\"http:\/\/www.blackberry.com\/\">Blackberry<\/a>. It has (at least, at the current version) one problem &#8211; you can&#8217;t create waypoints in the way that most GPS applications would expect. You can, however, name trackpoints &#8211; so I wrote a little perl script to extract all the named trackpoints from an exported GPX files, and save them as waypoints.<\/p>\n<p>Download <a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2008\/06\/bbtrackerwpt\">bbtrackerwpt &#8211; converts named trackpoints from bbtracker GPX into waypoints<\/a>. You&#8217;ll need <a href=\"http:\/\/search.cpan.org\/dist\/XML-Simple\/\">XML::Simple<\/a> for this to work.<\/p>\n<p>I imagine this script has a limited audience, and quite likely a limited lifetime. The author of bbtracker has said they&#8217;d provide waypoint support in the next version. You know me and patience, though &#8230;<\/p>\n<p>If I remembered more XSLT, I&#8217;d have done this the proper way. As is, I create XML using Perl <code>print<\/code> statements. I&#8217;m probably okay, as the name field is the only piece of free-form text, and I do some rudimentary escaping of characters that XML doesn&#8217;t like. The output seems to <a href=\"http:\/\/www.topografix.com\/gpx_validation.asp\">validate<\/a>, which is more than the <a href=\"http:\/\/www.topografix.com\/gpx.asp\">GPX<\/a> that bbtracker produces does. The length of your GPS track may vary \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like bbtracker -it&#8217;s a very simple GPS track logger for the Blackberry. It has (at least, at the current version) one problem &#8211; you can&#8217;t create waypoints in the way that most GPS applications would expect. You can, however, name trackpoints &#8211; so I wrote a little perl script to extract all the named [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[323,454,506,187,1287,1320],"class_list":["post-3709","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-blackberry","tag-gps","tag-gpx","tag-perl","tag-xml","tag-xslt"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-XP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/3709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=3709"}],"version-history":[{"count":0,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/3709\/revisions"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=3709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=3709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=3709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}