Buildings API

アクセス & 制限Public, no key needed · Heavy▾

誰でも利用可能です。プロファイルからの無料APIキーは制限を引き上げます: X-API-Key ヘッダー、またはとして api_key= アドレスで。

5分時間日
キーなし20120500
キーを使用して604002,000

Each 100 square km of area counts as one request, so a 10 km square is 1 and a 30 km square is 9.

プロフィールページで無料キーを作成するにはログインしてください。

すべての回答には X-RateLimit-Remaining and X-RateLimit-Reset制限を超えると、エラーになります 429 〜と retry_after 秒単位。拒否されたリクエストはカウントされません。

GET キーは不要 GeoJSON 1時間あたり1アドレスあたり120リクエスト

1 辺が最大 5 km の正方形上のすべての建物の輪郭。これは打ち上げサイト調査が描画するのと同じ輪郭です。これらは Overture Maps ビルディングデータからのもので、OpenStreetMap と画像から検出された建物フットプリントを統合しているため、OpenStreetMap がまだマップしていない場所を含む世界の多くをカバーしています。

GEThttps://www.altimetercloud.com/api/buildings/lat lon size_km

パラメータ

パラメータ必須意味
lat, lonはい正方形の中心、十進度で表示
size_kmいいえ正方形の辺、0.1~5 km(省略した場合は1)
formatいいえgeojson (デフォルト): 位置が [lon, lat] の Polygon の FeatureCollection。compact: 各建物はリングのリスト(外郭が最初で、その次に穴がある)です。各リングはフラット[lat, lon, lat, lon, ...]リスト(最後で最初のポイントが繰り返されない)です。サイズの約3分の1。

最大50,000棟の建物、中心に最も近いもの優先。それ以上は truncated 真で、 total あった数を示しています。

例

https://www.altimetercloud.com/api/buildings/?lat=54.3747&lon=-2.9988&size_km=0.5
応答(短縮版)
{
  "success": true, "lat": 54.3747, "lon": -2.9988, "size_km": 0.5,
  "status": "ok",               "partial" or "unavailable" if part could not be read just now
  "count": 214, "truncated": false, "release": "2026-10-22.0", "format": "geojson",
  "buildings": { "type": "FeatureCollection", "features": [
    { "type": "Feature", "properties": {},
      "geometry": { "type": "Polygon", "coordinates": [ [ [-2.9987512, 54.3746633], ... ] ] } }, ... ] },
  "notes": [ ... ], "credits": { ... }
}

エラー

コード意味
412パラメータがないか、無効です
429リクエストが多すぎます。retry_afterで待機時間を指定します
503建物ストアは現在利用できません

表示する必要があるクレジット

© OpenStreetMap contributors, Overture Maps Foundation. Buildings: ODbL.

  • © OpenStreetMap contributors. Available under the Open Database License.
  • Esri Community Maps contributors. Available under CC BY 4.0.
  • Global ML Building Footprints. Licensed by Microsoft under the Open Database License.
  • Google Open Buildings. Available under CC BY 4.0.
  • USGS 3D Elevation Program Digital Elevation Program.
  • Qian Shi, et al. A First High-quality Vector Data of Buildings in East Asian Countries Based on a Comprehensive Large-scale Mapping Framework. Zenodo, 22 July 2023, doi:10.5281/zenodo.8174931. Available under CC BY 4.0.
  • Work derived from BTN 2024 ign.es. Available under CC BY 4.0.

データはOpen Database Licenseの下にあります。上記のクレジットを付け、同じライセンスの下でこれから作成したデータベースを共有してください。

AltimeterCloud に謝辞を表す

無料で使用できます。使用する場合 this API, or anything made from the answers, in a commercial product or service, credit AltimeterCloud with a link to www.altimetercloud.com 使用時点:データが表示されている画面、ページ、または印刷物上など “Data from AltimeterCloud.com”. このページにリストされている、データ自体のソースが要求するいかなるクレジットも同様に適用されます。