Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

FastAPI of GEBCO bathymetry

NotificationsYou must be signed in to change notification settings

cywhale/gebco

Repository files navigation

DOI

Swagger API doc

GEBCO API manual/online try-out

Usage

  1. Records-output (in JSON) of z-profile (and distances) between longitude/latitude points with 15-arcsec resolutions

    e.g:https://api.odb.ntu.edu.tw/gebco?lon=120,120.1,120.1&lat=25.0,25.1,24.9&mode=row

  2. Output only endpoints: &mode=row,point

  3. Polygon mode byjsonsrc parameter (default down-sampling every 5 points, seesample parameter in manual) e.g

   https://api.odb.ntu.edu.tw/gebco?mode=zonly&jsonsrc={"type": "Polygon", "coordinates": [[[121, 22.5], [121, 23.5], [122, 23.5], [122, 22.5], [121, 22.5]]]}
  • Parmetermode=zonly means pairwise distance evaluation/output is disabled, only evaluates z data. Multiple values separated by comma inmode is allowed.
  • Multiple features are allowed:
   https://api.odb.ntu.edu.tw/gebco?mode=zonly&jsonsrc={"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [[[121, 22.5], [121, 23.5], [122, 23.5], [122, 22.5], [121, 22.5]]]}}]}

Demo polygon-mode data by plotly onOcean APIverse

Polygon-mode data by GEBCO API

Given the polygon in GeoJSON, the 15 arc-seconds gridded GEBCO data can be obtained to present the 3D terrain of this area.

Attribution

Citation


[8]ページ先頭

©2009-2025 Movatter.jp