This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env osascript -l JavaScript | |
// usage: google-earth-perspective-to-geojson.js xSamples ySamples > currentPerspective.geojson | |
function run(argv) { | |
var xSamples = argv[0] || 50; | |
var ySamples = argv[1] || 50; | |
var ge = Application('Google Earth Pro'); |
OlderNewer