{"id":524,"date":"2017-06-10T21:56:39","date_gmt":"2017-06-10T21:56:39","guid":{"rendered":"http:\/\/russandbecky.org\/blog\/?p=524"},"modified":"2017-06-10T21:56:39","modified_gmt":"2017-06-10T21:56:39","slug":"creating-google-earth-fly-over-movie-part-2","status":"publish","type":"post","link":"https:\/\/russandbecky.org\/blog\/2017\/06\/10\/creating-google-earth-fly-over-movie-part-2\/","title":{"rendered":"Creating Google Earth Fly-over Movie: Part 2"},"content":{"rendered":"<p>Ok, so in the <a href=\"http:\/\/russandbecky.org\/blog\/2017\/06\/10\/creating-google-earth-fly-over-movie\/\">previous post<\/a>, I went through the steps to manually\u00a0create a Google Earth fly through of a GPX file.<\/p>\n<p>Since then, I&#8217;ve made it a little easier on myself, by creating a <a href=\"https:\/\/github.com\/rbb\/scripts\/blob\/master\/kmldecimate.py\">script<\/a> to do some of the cleanup for you. Basically, the script creates a copy of the GPX path, and cuts out every Nth waypoint. It then re-times it, and creates a set of tracks. You&#8217;ll may have to play with the decimation value (N), and the the re-timing setting.<\/p>\n<p>Run the script with something like this:<br \/>\n<code>gpsbabel -i gpx -f trip.gpx -o kml -F trip.kml<br \/>\npython ~\/scripts\/kmldecimate.py -i trip.kml -o - -d 25 --folder Points<\/code><\/p>\n<p>In the above example, you&#8217;ll end up with <code>trip_dec.kml<\/code>.<\/p>\n<p>Once you&#8217;ve run the script, to create a KML, open it in Google Earth. If the decimated tracks don&#8217;t work too well for your flyover (Tour), then play with the folder of decimated ( &#8220;*_dec&#8221; ) waypoints, and as in the previous post, &#8220;copy as tracks&#8221; and create a new Tour. Repeat until satisfied, then export with the &#8220;Movie Maker&#8221; option.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, so in the previous post, I went through the steps to manually\u00a0create a Google Earth fly through of a GPX file. Since then, I&#8217;ve made it a little easier on myself, by creating a script to do some of the cleanup for you. Basically, the script creates a copy of the GPX path, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3p6ZE-8s","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":2,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/russandbecky.org\/blog\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}