GeoBridge

tylertoo:从 GeoParquet 直接生成 PMTiles 的高效工具

GIS 前沿11 阅读原文发布 2026/10/15编译收录 2026/10/15

在空间数据工程领域,从 GeoParquet 到 PMTiles 的转换一直是个痛点。传统工具 tippecanoe 虽然功能强大,但无法直接读取 GeoParquet,用户必须先将数据转换为 GeoJSON 或 FlatGeobuf 等中间格式,再运行 tippecanoe 生成瓦片。这一过程不仅繁琐,还增加了处理时间和存储开销。如今,Nissim Lebovits 开发的 tylertoo 工具彻底改变了这一局面。

tylertoo 是一个用 Rust 编写的 GeoParquet 到 PMTiles 生成器。它的核心优势是速度——比 tippecanoe 快 7 到 10 倍。这得益于 Rust 语言的高性能特性以及针对 GeoParquet 格式的优化读取逻辑。对于需要处理海量空间数据的用户来说,这种速度提升意味着更短的等待时间和更高的工作效率。 除了速度,tylertoo 还支持一系列高级功能。它能够进行远程读取,直接从云存储或远程服务器获取 GeoParquet 文件,无需先下载到本地。流式处理能力让它能够以恒定的内存占用处理超大文件,避免了内存溢出的风险。此外,tylertoo 支持分片作业,可以将任务分发到多台机器上并行执行,进一步缩短处理时间。 功能上,tylertoo 几乎涵盖了 tippecanoe 的所有其他特性,包括瓦片生成、属性过滤、图层合并等。这意味着用户可以在不牺牲功能的前提下,享受更快的速度和更简洁的工作流程。对于已经熟悉 tippecanoe 的用户来说,迁移到 tylertoo 几乎没有学习成本。 tylertoo 最大的贡献在于填补了 tippecanoe 留下的空白。过去,从 GeoParquet 生成瓦片需要两步:先转换格式,再运行 tippecanoe。现在,tylertoo 直接读取 GeoParquet,跳过了中间步骤。这不仅减少了处理环节,还避免了格式转换可能带来的数据损失或精度问题。 对于 GIS 开发者和数据工程师而言,tylertoo 的出现意味着更高效的数据流水线。无论是构建在线地图服务,还是进行空间数据分析,都可以直接从 GeoParquet 源生成 PMTiles,简化架构并提升性能。尤其是在云原生环境中,远程读取和流式处理特性让 tylertoo 成为处理大规模地理数据的理想选择。 总之,tylertoo 是一个值得关注的新工具,它用 Rust 重新定义了 GeoParquet 到 PMTiles 的转换流程。如果你正在寻找一种更快、更灵活的方式来生成矢量瓦片,不妨尝试一下 tylertoo。点击原文链接,查看完整的技术细节和示例。

编译自 Lat Long Blog,原文链接

原文摘要

tylertoo: Generate PMTiles Directly from GeoParquet

Link: nlebovits.github.io tylertoo is a handy new tool from Nissim Lebovits that creates PMTiles from GeoParquet sources. Nissim Lebovits: tylertoo: a GeoParquet to PMTiles generator in Rust. It’s fast (7-10x faster than tippecanoe), supports cool stuff like remote reads, streaming, bounded memory, and sharded jobs on multiple machines, has pretty much all the other functionality of tippecanoe, and, oh yeah, it’s really fast. It fills a gap that tippecanoe leaves: To create tiles from GeoParquet in tippecanoe, you first have to convert the GeoParquet into a format tippecanoe accepts, such as GeoJSON or FlatGeobuf, and then run tippecanoe on that. tylertoo skips that step and reads GeoParquet directly.