dem_geocentric_grid — DEM geodesy op

Data kinds: depthpointmap

Call: import demops; demops.dem_geocentric_grid(dem, lat0_deg, lon0_deg, cell_size, spherical=False) (or opsdem.get("dem_geocentric_grid"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

DEM の各セルを地球中心から見た座標にする。

`(H, W) の標高格子を、北西角が (lat0_deg, lon0_deg)` にある局所平面と

みなし、各セルを ECEF(既定)または地心球座標へ写す。

Args:

dem: `(H, W)` の標高 [m]。

lat0_deg / lon0_deg: 格子の北西角の緯度経度 [度]。

cell_size: セル寸法 [m]。緯度方向・経度方向とも同じとみなす

(Web メルカトルのタイルはそうなっている。

:func:dem_cell_size_webmercator を参照)。

spherical: `True なら (半径 r[m], 地心緯度[度], 経度[度])` を返す。

`False(既定)なら ECEF (x, y, z)` [m]。

Returns:

`(H, W, 3)`。

地心緯度は測地緯度ではありません。`spherical=True` の返りの緯度は

地球中心から見た角度で、地図の緯度(楕円体の法線が赤道面となす角)とは

最大 0.19 度違います。地図に戻すときは ECEF 側を

:func:dem_ecef_to_geodetic に渡してください。

Detailed usage guide

dem_terrain_analysis family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept pointmap as input)

Same category (geodesy)

dem_geodetic_to_ecef · dem_ecef_to_geodetic · dem_earth_curvature_drop · dem_cell_size_webmercator · dem_geodetic_slope


*Provenance: demops.py — DEM operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.