mirror of
https://github.com/maplibre/martin.git
synced 2024-12-21 05:41:55 +03:00
Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
hacktoberfestleafletmapbox-glmapbox-gl-jsmapbox-vector-tilemaplibremaplibre-gl-jsmapsmbtilespmtilespostgispostgresqlruststarred-maplibre-repostarred-repovector-tileswebserver
612a8d38c4
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> |
||
---|---|---|
.cargo | ||
.cargo-husky/hooks | ||
.github | ||
benches | ||
martin-mbtiles | ||
martin-tile-utils | ||
src | ||
tests | ||
.dockerignore | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
docker-compose.yml | ||
Dockerfile | ||
justfile | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
logo.png | ||
nginx.conf | ||
README-main.md | ||
README.md | ||
release.toml | ||
rustfmt.toml | ||
SECURITY_POLICY.txt |
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.