Obtenir la tuile vectorielle
Cet endpoint fournit les tuiles vectorielles. Possibibilité d'ajouter @2x.pbf pour les tuiles Retina.
Path Parameters
- z integer required
Niveau de zoom
Example: 1 - x integer required
Coordonnée X de la tuile
Example: 1 - y integer required
Coordonnée Y de la tuile
Example: 1
Responses
- 200
Tuile vectorielle récupérée avec succès
- application/octet-stream
- Schema
Schema
- any
GET /data/france-vector/:z/:x/:y.pbf
Request
Request
curl / cURL
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
python / requests
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
go / native
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
nodejs / axios
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
ruby / Net::HTTP
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
csharp / RestSharp
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
php / cURL
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
java / OkHttp
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'
powershell / RestMethod
curl -L -X GET 'https://cartopixel.fr' \
-H 'Accept: application/octet-stream'