Earth Engine は、共有コンピューティング リソースを保護し、すべてのユーザーに信頼性の高いパフォーマンスを提供するために、
非商用割り当て階層 を導入しています。すべての非商用プロジェクトは、
2026 年 4 月 27 日 までに割り当て階層を選択する必要があります。選択しない場合は、デフォルトでコミュニティ階層が使用されます。階層の割り当ては、
2026 年 4 月 27 日 に(階層の選択日に関係なく)すべてのプロジェクトで有効になります。
詳細
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
フィードバックを送信
ee.Image.changeProj
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
入力画像の投影を調整し、各ピクセルを srcProj の位置から dstProj の同じ座標に移動します。
用途 戻り値 Image. changeProj (srcProj, dstProj)画像
引数 タイプ 詳細 これ: input 画像 srcProj予測 元の射影。 dstProj予測 新しいプロジェクション。
例
コードエディタ(JavaScript)
// A DEM image object.
var img = ee . Image ( 'MERIT/DEM/v1_0_3' );
// Construct a projection object from a WKT string or EPSG code, for example,
// the Robinson projection (https://epsg.io/54030).
var proj = ee . Projection (
'PROJCS["World_Robinson",' +
'GEOGCS["GCS_WGS_1984",' +
'DATUM["WGS_1984",' +
'SPHEROID["WGS_1984",6378137,298.257223563]],' +
'PRIMEM["Greenwich",0],' +
'UNIT["Degree",0.017453292519943295]],' +
'PROJECTION["Robinson"],' +
'UNIT["Meter",1]]'
)
// Optionally adjust projection scale; stretch layer larger in this case.
. scale ( 0.9 , 0.9 );
// "Paint" the image in the desired projection onto the projection of
// the map canvas ('EPSG:3857').
var imgProj = img . changeProj ( proj , 'EPSG:3857' );
// Add an overlay image to the map to cover the default base layers.
Map . setCenter ( 0 , 0 , 2 );
Map . addLayer ( ee . Image ( 1 ), { palette : 'grey' }, 'Grey background' , false );
// Add the projection-tweaked image to the map.
Map . addLayer ( imgProj , { min : 0 , max : 3000 }, 'DEM in Robinson projection' );
Python の設定
Python API とインタラクティブな開発での geemap の使用については、
Python 環境 のページをご覧ください。
import ee
import geemap.core as geemap
Colab(Python)
# A DEM image object.
img = ee . Image ( 'MERIT/DEM/v1_0_3' )
# Construct a projection object from a WKT string or EPSG code, for example,
# the Robinson projection (https://epsg.io/54030).
proj = (
ee . Projection (
'PROJCS["World_Robinson",'
+ 'GEOGCS["GCS_WGS_1984",'
+ 'DATUM["WGS_1984",'
+ 'SPHEROID["WGS_1984",6378137,298.257223563]],'
+ 'PRIMEM["Greenwich",0],'
+ 'UNIT["Degree",0.017453292519943295]],'
+ 'PROJECTION["Robinson"],'
+ 'UNIT["Meter",1]]'
)
# Optionally adjust projection scale stretch layer larger in this case.
. scale ( 0.9 , 0.9 )
)
# "Paint" the image in the desired projection onto the projection of
# the map canvas ('EPSG:3857').
img_proj = img . changeProj ( proj , 'EPSG:3857' )
# Add an overlay image to the map to cover the default base layers.
m = geemap . Map ()
m . set_center ( 0 , 0 , 2 )
m . add_layer ( ee . Image ( 1 ), { 'palette' : 'grey' }, 'Grey background' , False )
# Add the projection-tweaked image to the map.
m . add_layer (
img_proj ,
{ 'min' : 0 , 'max' : 3000 },
'DEM in Robinson projection' ,
)
m
フィードバックを送信
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンス により使用許諾されます。コードサンプルは Apache 2.0 ライセンス により使用許諾されます。詳しくは、Google Developers サイトのポリシー をご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2026-01-14 UTC。
ご意見をお聞かせください
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2026-01-14 UTC。"],[],["The `changeProj` function modifies an image's projection by relocating each pixel from its original projection (`srcProj`) to a new projection (`dstProj`). This is done by taking an image object as input and takes in two parameters `srcProj` and `dstProj`. For example, it takes a DEM image, defines a Robinson projection with an adjusted scale, and then applies `changeProj` to re-project the image onto the map canvas projection (`EPSG:3857`). The result is an image with the modified projection.\n"]]