mrkeyoor.comAsk

maplibre/martintested 03 Oct 2026commit 9656e9f

martin review

Martin is worth evaluating for a mixed PostGIS, GeoJSON, PMTiles and MBTiles deployment because its documented scope covers those sources and archive utilities.

  • Build failed
  • Tests failed
16 sto install
  • 912 packages
Dataevaluationupdated 26 Oct 2026
+8stars / 7d

Martin is a Rust tile server and toolset for generating vector tiles from PostGIS and GeoJSON and serving tiles from PMTiles and MBTiles archives. Its README also lists styles, sprites, font glyphs, composite sources and MBTiles utilities. Our recorded source-build attempt did not reach a working server or verify these capabilities.

Verdict

Martin is worth evaluating for a mixed PostGIS, GeoJSON, PMTiles and MBTiles deployment because its documented scope covers those sources and archive utilities. Our 3 October 2026 run at commit 9656e9f establishes a source-build prerequisite problem: npm could not be executed while building the UI. It establishes neither a broken tile server nor passing or failing application tests. Resolve that prerequisite, verify the chosen binary and configuration, then measure startup and tile requests with representative data before adopting it.

We ran it

Lab card: what happened when we ran martin
Lab card from our sandbox run
Screenshot of martin (martin.maplibre.org)
martin.maplibre.org
Install✓ · 16s912 packages
Build✗ · 360s
Tests✗ · 332sran, no count parsed
Repo1217 files~109,220 lines of source · 21.1 MB · 17 CI workflows · tests dir

Answers from our run

Does martin build from source?

Dependencies installed in 16 seconds (912 packages), and the build failed. We cloned commit 9656e9f into a clean Debian container with 3 CPUs and no project-specific setup.

Do martin's tests pass?

No. The project's own test command exited unsuccessfully after 332 seconds, and its output did not expose an individual test count.

Who should not use martin?

Teams requiring a verified deployment or performance benchmark from this review: our run stopped during compilation.

What are the alternatives to martin?

Tegola, pg_tileserv. Martin is worth evaluating for a mixed PostGIS, GeoJSON, PMTiles and MBTiles deployment because its documented scope covers those sources and archive utilities.

Setup2/5The 3 October 2026 run at 9656e9f completed dependency download, but build and test commands stopped because the UI build could not execute npm install. No installed binary was verified.
Docs3/5The README links installation, configuration, API and development guidance. The supplied documentation-site extract contains only an application shell, so the detailed instructions could not be assessed.
Community3/5Supplied issue histories show maintainer replies and completed startup and environment-variable work. They do not establish adoption, support availability or typical response times.
Maturity3/5The README documents several sources and archive tools, and issue histories show completed fixes. The measured checkout identifies v2.0.0-beta.2; serving behavior and compatibility were not tested.

Who it’s for

Mapping teams evaluating one server for PostGIS, GeoJSON, PMTiles and MBTiles.
Operators who need local or HTTP-hosted PMTiles alongside database sources.
Data engineers considering bulk tile generation and MBTiles inspection, validation, copying or diffs.
MapLibre users evaluating tile delivery and map assets in one service.

Who it’s NOT for

Teams requiring a verified deployment or performance benchmark from this review: our run stopped during compilation.
Source builders expecting the recorded Rust image alone to supply every prerequisite: Martin's UI build could not execute npm install.
Teams requiring stable GeoParquet support: the README explicitly labels its DuckDB-backed implementation unstable.

Setup reality

In our recorded run on 3 October 2026 at commit 9656e9fedd02c785aa03e47fc8d18f4f74723ff5, the dependency step completed in 16.152 seconds with exit 0. Its tail shows crate downloads; the parser recorded 912 dependencies. This does not establish that the Martin CLI was installed.

The build command exited 101 after 359.513 seconds. The test command exited 101 after 332.171 seconds. Both tails identify Martin v2.0.0-beta.2 and the same custom-build failure: the UI build could not execute npm install because the executable was not found. The test command encountered a build prerequisite failure; the record does not establish failing test assertions or an exhaustive test count.

The configured sandbox was lab-rust:1 with 3 CPUs and 12 GB of memory. That image label does not establish an actual Rust or operating-system version. The recorded checkout contained 1,217 files, approximately 109,220 source lines and 21.1 MB, with 17 CI workflows, a Compose file and a tests directory; the detector found no Dockerfile. No installed-binary check, tile-serving workload, throughput benchmark or security audit is recorded.

One server for database tiles and archives

Martin's documented appeal is the ability to serve live database tiles and existing archives through one service. The README at commit 9656e9f lists automatic discovery of compatible PostGIS tables and functions, on-demand GeoJSON conversion, local and HTTP-hosted PMTiles, and MBTiles files. These are upstream descriptions, not capabilities verified by our run.

The same README lists upstream tile passthrough, combined sources, styles, sprites and font glyphs. Bulk generation uses the martin cp subcommand. The separate mbtiles tool can examine, copy, validate, compare and apply diffs between archives. GeoParquet serving through DuckDB is explicitly marked unstable, so teams needing a stable compatibility promise should evaluate that source separately.

Our recorded run stopped at the UI build

Our recorded run took place on 3 October 2026 at commit 9656e9fedd02c785aa03e47fc8d18f4f74723ff5, dated 2 October 2026. The configured environment was lab-rust:1 with 3 CPUs and 12 GB of memory. The image name alone does not identify the actual runtime versions or Linux distribution.

The dependency step completed with exit 0 in 16.152 seconds. Its output shows downloaded Rust crates, and the parser recorded 912 dependencies. Dependency download is not proof that an executable was installed or could run.

The build command exited 101 after 359.513 seconds. Its tail identifies martin v2.0.0-beta.2 and a custom build script preparing martin-ui. The script then reported that it could not execute npm install because the executable was not found. This supports checking npm availability in the build environment. It does not establish that supplying npm would resolve every remaining prerequisite.

The test command exited 101 after 332.171 seconds with the same UI build-script diagnostic. That is an unsuccessful test command blocked during compilation. The stored output does not establish failed test assertions, a passing-test total or exhaustive test coverage.

The checkout measurements were 1,217 files, approximately 109,220 source lines and 21.1 MB. Detection recorded 17 CI workflows, a Compose file and a tests directory, with no Dockerfile found. Those signals describe the checkout; they do not prove CI success or production readiness. No installed-binary checks, serving workloads or security audit are recorded.

Configuration advice must follow the version

Two issue discussions change how an operator should read older setup advice.

The reverse-proxy request, issue #2524, includes reports of TileJSON advertising an internal origin. It also contains a maintainer explanation that Martin respects standard proxy headers such as X-Forwarded-Host, plus a collaborator report of relative-URL support. The discussion therefore does not support a blanket claim that Martin cannot work behind a proxy. Verify the TileJSON returned through your actual proxy chain and confirm that subsequent tile requests use the intended public origin.

Issue #1052, concerning implicit environment-variable reads, was closed as completed on 22 September 2026 through #3371. Its activity names the change as stopping reads of Postgres environment variables. Do not assume that merely setting DATABASE_URL configures the October checkout. Check the CLI or explicit configuration supported by the version you deploy; the issue's closure alone does not document every migration detail.

Treat the startup report as version-specific evidence

Issue #3134 reports slow startup with large normalized Tippecanoe MBTiles in Martin 1.13 and 1.14, with MBTiles 0.19.x and Tippecanoe 2.79.0. The reporter attributes the delay to minimum/maximum zoom calculation over the tiles view. The issue was closed as completed through #3185 on 27 August 2026.

That history supports testing cold startup with large archives. It does not establish that the October checkout still has the reported problem, and our run never reached archive loading. We have no measured startup time or request throughput for Martin. The README's speed and heavy-traffic wording remains an upstream claim.

Choosing a narrower alternative

Tegola's README lists PostGIS, GeoPackage and SAP HANA Spatial providers, along with file, S3, Redis and Azure Blob cache backends. Those documented choices make it relevant when provider and cache requirements drive the decision.

pg_tileserv describes itself as a PostGIS-only server in Go. It forms and executes SQL for HTTP tile requests and exposes permitted database tables and functions. It is relevant when the service only needs to publish PostGIS data. Neither alternative was executed in our recorded run, so these comparisons describe scope rather than measured setup or speed.

How to read the scores

The scores are editorial assessments of the evidence reviewed here, not benchmark results. On this five-point rubric, 1 means a major evidenced obstacle, 2 means substantial friction or limited verification, 3 means useful documented support with material unknowns, 4 requires corroborated depth, and 5 requires broad verification. Unknown adoption and untested compatibility do not earn a high score.

Setup scores 2 because the recorded build and test commands stopped at the same missing executable. Documentation scores 3 because the README gives a useful feature and documentation map, but the supplied documentation-site extract exposes only an application shell. Community scores 3 because the issue extracts show maintainer responses and completed work, without establishing adoption or response times. Maturity scores 3 because the project documents several source types and tools and has resolved specific issues, while our measured checkout identifies a beta version and never reached runtime verification.

For a trial, choose the exact release or commit first. Verify its build prerequisites and configuration, check the executable, inspect public TileJSON through the proxy, and measure cold startup and representative tile requests. Those checks will answer the deployment questions this compilation-only run leaves open.

Alternatives

ProjectWhat it isPick it when
TegolaA vector tile server whose README lists PostGIS, GeoPackage and SAP HANA Spatial providers.Evaluate Tegola when its documented providers and file, S3, Redis or Azure Blob cache backends match your deployment.
pg_tileservA PostGIS-only tile server written in Go that forms and executes SQL for HTTP tile requests.Evaluate pg_tileserv when your tile sources are PostGIS tables and functions and you want a service focused on that database boundary.

What people are saying

  1. [github-trending] maplibre/martin

Sources

  1. Martin README
  2. Martin documentation
  3. Martin repository
  4. Martin 1.14.0 release
  5. Large MBTiles startup report
  6. Reverse proxy URL request
  7. Environment variable behavior discussion

More data reviews