Indoor data

부분 유료
분류별 openindooor | 업데이트됨 il y a 2 mois | Mapping
인기

0.2 / 10

지연 시간

39ms

서비스 수준

0%

Health Check

N/A

README

Documentation

URL format

https://indoor-data.p.rapidapi.com/maps/openindoor/{z}/{x}/{y}.vector.pbf?rapidapi-key=974ea84d36msh2569a2933458f30p11439djsn341cf40e619d

Maps

A map is the name of a Map configuration. For the moment, only one map os available. This map contains all the attributes of all the available indoor data. Furthermore, a map has one or more layers.

Available maps:

  • openindoor [Available layers: building-footprint, building-footprint-centroid, building-item-point, building-item-linestring, building-item-polygon, building-item-multipolygon]

Endpoints

  • Get /?maps/{map}/{z}/{x}/{y}
  • Get /?maps/{map}/{layer}/{z}/{x}/{y}

Calcul

To find out (approximately) which tile your data is in, you can use the following calculations.

  • x = (longitude_deg + 180.0) / 360.0 * z
  • y = (1.0 - asinh(tan(latitude_deg*pi/180)) / pi) / 2.0 * z

For more details see tutorials.

Understanding the zoom and vector tiles

> Vector tiles are packets of geographic data, packaged into pre-defined roughly-square shaped “tiles” for transfer over the web. (Wikipedia)

When the zoom is equal to 0, the map complete and there is only one tile. For every onee increase in zoom, each tile is divided into four. That mean, for zoom 14, there is (2** 14)(2* 14) = 8092**2 = 65480464 tiles.

Global map of our indoor data

You can get an overview of all our indoor data at https://api-mvt.openindoor.io/. To have a preview of each vector tiles, click on the 4th bottom right corner button.

Use our API with MapLibre

https://maplibre.org/maplibre-gl-js-docs/api/properties/#requestparameters

팔로워: 0
자원:
제품 웹사이트 이용 약관
API 생성자 :
O
openindooor
openindooor
Rate API에 로그인
등급: 5 - 투표: 1