Buildings API
アクセス & 制限Public, no key needed · Heavy▾
誰でも利用可能です。プロファイルからの無料APIキーは制限を引き上げます: X-API-Key ヘッダー、またはとして api_key= アドレスで。
| 5分 | 時間 | 日 | |
|---|---|---|---|
| キーなし | 20 | 120 | 500 |
| キーを使用して | 60 | 400 | 2,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 秒単位。拒否されたリクエストはカウントされません。
1 辺が最大 5 km の正方形上のすべての建物の輪郭。これは打ち上げサイト調査が描画するのと同じ輪郭です。これらは Overture Maps ビルディングデータからのもので、OpenStreetMap と画像から検出された建物フットプリントを統合しているため、OpenStreetMap がまだマップしていない場所を含む世界の多くをカバーしています。
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”. このページにリストされている、データ自体のソースが要求するいかなるクレジットも同様に適用されます。



















