Takuya Miyashita
This site
Web
Start:
*画像の出力 メモ [#rfc2b33a]
**画像 [#i0496d9b]
***[[Image.getThumbURL(params, callback)>https://develope...
Image 型のメソッド.
#codeprettify{{
// ex.1
params1 = {
region: geom, // ee.Geometry
scale: 300,
format: 'png'
}
print(img.getThumbURL(params1));
// ex.2
params2 = {
region: geom, // ee.Geometry
dimensions: '600x600',
format: 'png',
}
print(img.getThumbURL(params2));
}}
~
**動画 [#w642def2]
***[[ImageCollection.getVideoThumbURL(params, callback)>h...
ImageCollection 型のメソッド.
gif を生成してその URL が戻り値.~
print で URL が Console に出てくる.
#codeprettify{{
// Define GIF visualization parameters.
var gifParams = {
'region': geom,
'dimensions': 450,
'crs': 'EPSG:3857',
'framesPerSecond': 10,
};
// Print the GIF URL to the console.
print(visualizedCollection.getVideoThumbURL(gifParams));
}}
~
***[[Export.video.toDrive>https://developers.google.com/e...
avi ファイルで動画にするとき.
#codeprettify{{
Export.video.toDrive({
collection: visualizedCollection, // ImageCollection
description: 'exported_video',
scale: 10000, // Resolution in meters per pixel. Defa...
dimensions: 720,
framesPerSecond: 5,
region: geom, // ee.Geometry
});
}}
Tasks に生成された動画が出てくる.そこから選択すると Goog...
End:
*画像の出力 メモ [#rfc2b33a]
**画像 [#i0496d9b]
***[[Image.getThumbURL(params, callback)>https://develope...
Image 型のメソッド.
#codeprettify{{
// ex.1
params1 = {
region: geom, // ee.Geometry
scale: 300,
format: 'png'
}
print(img.getThumbURL(params1));
// ex.2
params2 = {
region: geom, // ee.Geometry
dimensions: '600x600',
format: 'png',
}
print(img.getThumbURL(params2));
}}
~
**動画 [#w642def2]
***[[ImageCollection.getVideoThumbURL(params, callback)>h...
ImageCollection 型のメソッド.
gif を生成してその URL が戻り値.~
print で URL が Console に出てくる.
#codeprettify{{
// Define GIF visualization parameters.
var gifParams = {
'region': geom,
'dimensions': 450,
'crs': 'EPSG:3857',
'framesPerSecond': 10,
};
// Print the GIF URL to the console.
print(visualizedCollection.getVideoThumbURL(gifParams));
}}
~
***[[Export.video.toDrive>https://developers.google.com/e...
avi ファイルで動画にするとき.
#codeprettify{{
Export.video.toDrive({
collection: visualizedCollection, // ImageCollection
description: 'exported_video',
scale: 10000, // Resolution in meters per pixel. Defa...
dimensions: 720,
framesPerSecond: 5,
region: geom, // ee.Geometry
});
}}
Tasks に生成された動画が出てくる.そこから選択すると Goog...
Page:
Edit with a page name which already exists