PMTiles 🗺

PMTiles

Open Beta
.pmtiles · application/vnd.pmtiles

PMTiles é um arquivo serverless de tiles vetoriais para mapas web. Um único ficheiro contém todos os tiles acessíveis através de pedidos HTTP range. Ideal para alojamento em S3, CloudFlare R2 e GitHub Pages sem um servidor de tiles.

Exportar PMTiles agora ✨ Beta Aberta — gratuito, sem limites

Principais características

Ficheiro único — todos os ladrilhos
Pedidos HTTP de intervalo
Sem servidor — apenas alojamento estático
Example PMTiles export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre o formato PMTiles

PMTiles is an archive format in which a whole set of tiles sits in one file with an internal index. The browser does not download it as a whole: it requests the pieces it needs with HTTP range requests, which any static hosting can serve — S3, Cloudflare R2, GitHub Pages, plain Nginx.

Hence the main benefit: the map works without a tile server. There is no service to set up, watch over and pay for — the file simply sits next to the site. For a prototype, an internal dashboard or a project that has to outlive the shutdown of a third-party map service, that makes life noticeably easier.

Inside the archive are MVT vector tiles, that is geometry with attributes, and the appearance is set by a style on the client side. The export builds the pyramid up to zoom 12: beyond that encoding the tiles becomes too expensive, and if you asked for more, we honestly report the limitation and suggest MBTiles. For the same reason the exporter rejects very dense areas straight away rather than after a long wait: a short, clear refusal is better than a stuck job.

Que programa abre ficheiros PMTiles

Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros PMTiles (.pmtiles) exportados do OSM2CDR:

💻MapLibre GL JS 💻Leaflet 💻PMTiles Viewer 🌎QGIS 💻Felt

Format specifications

Quem utiliza mapas PMTiles

🏗
Mapas web serverless
A web map with no tile server: one file on hosting, no service to maintain.
💻
Alojamento estático de tiles
Serving tiles from static storage — S3, Cloudflare R2 or GitHub Pages hand the file over as an ordinary resource.
📊
Mapas em CDN
A map through a CDN: it is cached as a whole, while the client fetches only the pieces it needs.
🎨
Mapas web offline
A self-contained web map that can be placed next to the application and opened without external services.
🗺
Prototipagem
A quick prototype: the map is up in minutes, with no infrastructure and no contracts with tile providers.

Como exportar para PMTiles

1
Selecionar área
Desenhe um retângulo ou polígono no mapa interativo em osm2cdr.ru
2
Escolher PMTiles
Selecione PMTiles na lista de 127 formatos de exportação disponíveis
3
Exportar
Clique em Exportar e receba o seu ficheiro .pmtiles em 1-5 minutos
4
Descarregar
Descarregue o ficheiro PMTiles pronto e abra-o no MapLibre GL JS

Como abrir depois da exportação

Mapas populares em PMTiles

Free

Obtenha exportações de mapas em PMTiles

Descarregue mapas profissionais em PMTiles a partir do OpenStreetMap. Geração instantânea, qualquer área.

Gratuito / exportação
Exportar PMTiles agora →

Perguntas frequentes

Preciso de um servidor de tiles para o PMTiles?
Que bibliotecas suportam PMTiles?
Up to which zoom is the pyramid built?
Why was the export refused for a large dense area?
Why is the map empty after I connect it?

Comparar com outros formatos

Formatos relacionados

Frequentemente exportados em conjunto

Related Articles