{"id":1197,"date":"2009-04-26T00:22:37","date_gmt":"2009-04-25T15:22:37","guid":{"rendered":"https:\/\/regex.info\/blog\/2009-04-26\/1197"},"modified":"2009-04-26T00:22:37","modified_gmt":"2009-04-25T15:22:37","slug":"query-current-location-from-google-earth","status":"publish","type":"post","link":"https:\/\/regex.info\/blog\/2009-04-26\/1197","title":{"rendered":"Query Current Location from Google Earth?"},"content":{"rendered":"\n\n\n<div class='resize_warning' id='arw1197'>\n<b>NOTE<\/b>: Images with an <img class='raw' width='19' height='18' src='\/i\/s\/red_zoomup.gif'\/> icon next to them have been artificially shrunk to better fit your screen; click the icon to restore them, in place, to their regular size.\n<\/div>\n\n\n<p>Does anyone know of a command-line method to fetch the location\ncurrently centered in the display of <span class='nobr'>a running<\/span> Google Earth? <span class='nobr'>I have spent<\/span>\nuntold hours trying to figure this out, and have always come up with <span class='nobr'>a\nblank.<\/span> <span class='nobr'>If I can<\/span> find <span class='nobr'>a small<\/span> command-line program that spits out <span class='nobr'>a\nlatitude<\/span>\/longitue\/altitude of the current center of the Google-Earth\nviewpoint, <span class='nobr'>I can greatly<\/span> enhance my <a\nhref=\"\/blog\/lightroom-goodies\/gps\"\nclass='quiet'>geoencoding support plugin for Adobe Lightroom<\/a>. <span class='nobr'>I'm looking<\/span> for solutions for both Windows and Mac, although they don't need to\nbe the same.<\/p>\n\n<p>I do know about the <a href=\"http:\/\/earth.google.com\/comapi\/\"\nclass='quiet'>Win COM library<\/a>, but I'm not <span class='nobr'>a Windows<\/span> developer and have\nno idea what to do with it.<\/p>\n\n<p>I'd love to hear ideas (or receive source code... hint hint! \ud83d\ude42 ) if anyone has\nthem...<\/p>\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Does anyone know of a command-line method to fetch the location currently centered in the display of a running Google Earth? I have spent untold hours trying to figure this out, and have always come up with a blank. If I can find a small command-line program that spits out a latitude\/longitue\/altitude of the current center of the Google-Earth viewpoint, I can greatly enhance my geoencoding support plugin for Adobe Lightroom. I'm looking for solutions for both Windows and Mac, although they don't need to be the same.<\/p> <p>I do know about the Win COM library, but I'm not a [...]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts\/1197"}],"collection":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/comments?post=1197"}],"version-history":[{"count":0,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts\/1197\/revisions"}],"wp:attachment":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/media?parent=1197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/categories?post=1197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/tags?post=1197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}