快速提供矢量瓦片
Serving Vector Tiles, Fast

原始链接: https://spatialists.ch/posts/2025/04-05-serving-vector-tiles-fast/

Fabian Rechsteiner 的研究对几款开源矢量瓦片服务器进行了速度比较,这些服务器直接从 PostGIS 数据库读取数据,绕过了 PMTiles 或 MBTiles 等常用格式。他的 GitHub 仓库和相应的交互式网络地图 (vectormap.ch) 对六款服务器进行了基准测试:BBOX、ldproxy、Martin、pg_tileserv、Tegola 和 TiPg。 这项研究源于 Rechsteiner 的硕士论文,提供了深入的性能数据以及进行独立复制和未来更新所需的代码。Geomatik Schweiz 上也提供了一份更简洁的分析报告(需付费查看)。 虽然速度是一个关键因素,但 Rechsteiner 强调它并非选择矢量瓦片服务器的唯一决定因素。这份全面的基准测试允许用户探索被测试解决方案之间的性能差异,从而能够根据自身需求和具体情况做出明智的决策。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 快速提供矢量瓦片服务 (spatialists.ch) 4 分,来自 altilunium,2 小时前 | 隐藏 | 过去 | 收藏 | 讨论 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创企业学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:
相关文章

原文

Once you have created your vector tiles, typically you look for a solution to serve them to clients. From Fabian Rechsteiner comes an interesting speed comparison of open-source solutions for a slightly different context: Serving vector tiles not from PMTiles or MBTiles, but from a PostGIS instance. The GitHub repo highlights speed comparisons between six vector tile servers across different tests:

  • BBOX
  • ldproxy
  • Martin
  • pg_tileserv
  • Tegola
  • TiPg

Besides the statistics in the benchmark repository, Fabian Rechsteiner has published an eye-opening interactive side-by-side comparison of the six vector tile servers using a MapLibre client and data from the canton of Thurgau at https://vectormap.ch:

Visual performance test (source: Fabian Rechsteiner)

Fabian Rechsteiner’s benchmark repository contains the code to roll your own tests (or maybe update his results a few months down the road). These insights are the results of his Master’s thesis at the University of Salzburg, which is also publicly available (pdf, in German). If you have a subscription, you can also read a shorter article on the analysis in Geomatik Schweiz, edition 11-12/2024 (paywalled, in German).

Obviously, speed isn’t the only quality dimension to decide on a vector tile server. But it is certainly an important one.

联系我们 contact @ memedata.com