Indoor data

FREEMIUM
By openindooor | Updated a month ago | Mapping
Popularity

0.2 / 10

Latency

36ms

Service Level

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

Followers: 0
Resources:
Product Website Terms of use
API Creator:
O
openindooor
openindooor
Log In to Rate API
Rating: 5 - Votes: 1