PMTilesBR

Geospatial tiled datasets for spatial visualization and analysis in Brazil.
Author

Daniel Vartanian, Camila N.Fernandes, & Mariana Giannotti

Published

March 22, 2026

Overview

This website hosts PMTiles files for spatial visualization and analysis in Brazil.

PMTiles is a format for storing and serving tiled geospatial data. It is designed to be efficient, scalable, and easy to use, making it ideal for web applications and data visualization.

We plan to move these files to a more permanent hosting solution in the future.

The map below shows Brazil municipality boundaries as PMTiles, sourced from the geobr R package (Pereira & Goncalves, n.d.).

Click and drag to pan. Right-click and drag to rotate. Hover over a shape to see the municipality name. Use the controls to zoom, take a screenshot, or view in fullscreen.

Why Use PMTiles?

When working with complex geometries in web mapping applications like Mapbox, MapLibre, and Leaflet, performance can become a real problem. Shapes with many vertices make rendering slow, bloat file sizes, and generally make life harder. PMTiles addresses this by letting you serve precompiled tiles directly from the web, rather than bundling them into your application.

Files

See the code repository README to learn more about how the files were created.

Unless you really need to, use the simplified versions of the files, which are smaller and faster to load. The non-simplified versions are available for those who need the highest level of detail, but they may not be necessary for most applications.

Sourced from the geobr R package (Pereira & Goncalves, n.d.).

Parameters

  • Year: 2020
  • Layer: "read_country"
  • Simplified: TRUE/FALSE
  • Minimum Zoom: 2
  • Maximum Zoom: 10

Files

View

Sourced from the geobr R package (Pereira & Goncalves, n.d.).

Parameters

  • Year: 2020
  • Layer: "read_region"
  • Simplified: TRUE/FALSE
  • Minimum Zoom: 2
  • Maximum Zoom: 10

Files

View

Sourced from the geobr R package (Pereira & Goncalves, n.d.).

Parameters

  • Year: 2020
  • Layer: "read_state"
  • Simplified: TRUE/FALSE
  • Minimum Zoom: 2
  • Maximum Zoom: 10

Files

View

Sourced from the geobr R package (Pereira & Goncalves, n.d.).

Parameters

  • Year: 2024
  • Layer: "read_municipality"
  • Simplified: TRUE/FALSE
  • Minimum Zoom: 2
  • Maximum Zoom: 10

Files

View

Sourced from the geodata R package (Hijmans et al., 2024).

Parameters

  • Layer: "world"
  • Resolution: 5
  • Level: 0
  • Version: "latest" (created in 2026)
  • Minimum Zoom: 0
  • Maximum Zoom: 6/10

Files

View

Citation

When using this data, you must also cite the original data sources.

To cite this work, please use the following format:

Vartanian, D., Fernandes, C. N., & Giannotti, M. A. (2026). PMTilesBR: Tiled geospatial data for Brazil [Computer software]. Center for Metropolitan Studies, University of São Paulo. https://doi.org/10.5281/zenodo.19157888

A BibLaTeX entry for LaTeX users is:

@software{vartanian2026,
  title = {PMTilesBR: Tiled geospatial data for Brazil},
  author = {{Daniel Vartanian} and {Camila Nastari Fernandes} and {Mariana Abrantes Giannotti}},
  year = {2026},
  address = {São Paulo},
  institution = {Center for Metropolitan Studies, University of São Paulo},
  langid = {en},
  doi = {https://doi.org/10.5281/zenodo.19157888}
}

License

License: GPLv3 License: CC BY-NC-SA 4.0

The original data sources may be subject to their own licensing terms and conditions.

The code in this repository is licensed under the GNU General Public License Version 3, while the files are available under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.

Copyright (C) 2026 Center for Metropolitan Studies

The code in this report is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.

Acknowledgments

This work was developed with support from the Center for Metropolitan Studies (CEM) based at the School of Philosophy, Letters and Human Sciences (FFLCH) of the University of São Paulo (USP) and at the Brazilian Center for Analysis and Planning (CEBRAP).

This study was financed, in part, by the São Paulo Research Foundation (FAPESP), Brazil. Process Number 2025/17879-2.

References

Hijmans, R. J., Barbosa, M., Ghosh, A., & Mandel, A. (2024). geodata: Download geographic data [Computer software]. https://doi.org/10.32614/CRAN.package.geodata
Pereira, R. H. M., & Goncalves, C. N. (n.d.). geobr: Download official spatial data sets of Brazil [Computer software]. https://doi.org/10.32614/CRAN.package.geobr