Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
Go to file
cthiange 612a8d38c4
Issue 540 - missing index warnings (#569)
Warn users when a PG table geometry column has no index - thus accessing it would be slow.  This is only done for tables. Issues with the views are not printed.

## Implementation

This adds two fields to `TableInfo`:
* `geom_idx: Option<bool>` to tell if a geo column has a spatial index
* `is_view: Option<bool>` to distinguish views from other relations

Missing spatial index warnings are logged for non-view relations. Views
will never have indexed columns and, if referencing a table with a
missing index, it will be logged already.

Couldn't figure out how to make `just test` accept the new warning (from
missing index), so I have them logged as INFO for now :)

fixes #540

---------

Co-authored-by: Christophe Thiange <cthiange@gmail.com>
Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com>
2023-02-07 01:05:47 -05:00
.cargo Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
.cargo-husky/hooks bump to 0.6.2 2022-12-13 20:14:07 -05:00
.github Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
benches Require PostGIS 3 and use ST_TileEnvelope (#497) 2022-11-30 18:57:27 +02:00
martin-mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
martin-tile-utils Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
src Issue 540 - missing index warnings (#569) 2023-02-07 01:05:47 -05:00
tests Issue 540 - missing index warnings (#569) 2023-02-07 01:05:47 -05:00
.dockerignore Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
.gitignore Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
Cargo.lock Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
Cargo.toml Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
CHANGELOG.md Migrate some urbica/martin -> maplibre/martin (#347) 2022-06-11 10:51:41 +03:00
CODE_OF_CONDUCT.md feat: clean up readme and code of conduct (#382) 2022-08-11 07:06:12 -04:00
docker-compose.yml Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
Dockerfile Docker improvements and CI tests (#472) 2022-11-02 19:00:05 +01:00
justfile Issue 540 - missing index warnings (#569) 2023-02-07 01:05:47 -05:00
LICENSE-APACHE Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
LICENSE-MIT Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
logo.png docs: ✏️ add notes on debugging 2019-02-04 20:22:04 +03:00
nginx.conf fix: tiles attribute in tilejson with x-rewrite-url (#266) 2021-10-15 18:19:36 +03:00
README-main.md Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
README.md Move README to another file 2022-12-28 22:34:31 -05:00
release.toml docs: update CHANGELOG.md 2021-10-18 16:15:26 +03:00
rustfmt.toml sort use-statements during fmt (#376) 2022-08-06 12:48:10 -04:00
SECURITY_POLICY.txt Create SECURITY_POLICY.txt (#489) 2023-02-04 19:06:17 -05:00

Martin

CI Security audit Docker pulls

Martin is a PostGIS vector tiles server suitable for large databases. Martin is written in Rust using Actix web framework.


  • See documentation for v0.6 (latest stable).

  • If you want to see our unreleased version documentation, go here, but it may change.