Takuya Miyashita
This site
Web
Start:
*Google Earth Engine - 高度なカラーパレットを使う [#fff78...
** 基本 [#wf6e83ae]
GiuHubに [[ee-palettes>https://github.com/gee-community/e...
呼び出し方は
#codeprettify(lang-js){{
// Pull the package from the GitHub repo which stores col...
// See https://github.com/gee-community/ee-palettes for m...
var palettes = require('users/gena/packages:palettes');
}}
で,そこからパレットを選び.最大最小値を決める.パレット...
#codeprettify(lang-js){{
var vis = {
min: -5.0,
max: 100.0,
palette: palettes.crameri.tofino[50],
};
}}
これで crameri の tonifo というパレットが 50 段階で変数に...
~
**例 [#l32eef88]
標高分布を描いてみた例.~
読んでいる image は私の assets に入っているデータ(公開デ...
#codeprettify(lang-js){{
// load
var image = ee.Image('users/miyashitafwk/topotif_tokyo');
// print information to console
print(image);
// Pull the package from the GitHub repo which stores col...
// See https://github.com/gee-community/ee-palettes for m...
var palettes = require('users/gena/packages:palettes');
var vis = {
min: -5.0,
max: 100.0,
palette: palettes.crameri.tofino[50],
};
// show topohraphy (scientific colors)
Map.addLayer(image, vis, 'topo_tokyo_scientific'); // var...
Map.centerObject(image, 11); // varname, zoom level
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
~
**参考 [#r005064a]
-[[Creating a vertical color bar in Google Earth Engine>h...
End:
*Google Earth Engine - 高度なカラーパレットを使う [#fff78...
** 基本 [#wf6e83ae]
GiuHubに [[ee-palettes>https://github.com/gee-community/e...
呼び出し方は
#codeprettify(lang-js){{
// Pull the package from the GitHub repo which stores col...
// See https://github.com/gee-community/ee-palettes for m...
var palettes = require('users/gena/packages:palettes');
}}
で,そこからパレットを選び.最大最小値を決める.パレット...
#codeprettify(lang-js){{
var vis = {
min: -5.0,
max: 100.0,
palette: palettes.crameri.tofino[50],
};
}}
これで crameri の tonifo というパレットが 50 段階で変数に...
~
**例 [#l32eef88]
標高分布を描いてみた例.~
読んでいる image は私の assets に入っているデータ(公開デ...
#codeprettify(lang-js){{
// load
var image = ee.Image('users/miyashitafwk/topotif_tokyo');
// print information to console
print(image);
// Pull the package from the GitHub repo which stores col...
// See https://github.com/gee-community/ee-palettes for m...
var palettes = require('users/gena/packages:palettes');
var vis = {
min: -5.0,
max: 100.0,
palette: palettes.crameri.tofino[50],
};
// show topohraphy (scientific colors)
Map.addLayer(image, vis, 'topo_tokyo_scientific'); // var...
Map.centerObject(image, 11); // varname, zoom level
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
~
**参考 [#r005064a]
-[[Creating a vertical color bar in Google Earth Engine>h...
Page:
Edit with a page name which already exists