Skip to content

Commit

Permalink
cleanup trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Oct 31, 2023
1 parent d9f01d1 commit 09dd2be
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ jobs:
cd ..
#
# Special case for Windows
# Special case for Windows
#
cd x86_64-pc-windows-msvc
7z a ../files/martin-Windows-x86_64.zip martin.exe mbtiles.exe
Expand Down
2 changes: 1 addition & 1 deletion demo/frontend/src/Components/Map/Filters/DayPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default styled.div`
}
.DayPicker-Caption > div {
font-weight: bold;
font-weight: bold;
color: #dadfee;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/37-sources-fonts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Font Sources

Martin can serve glyph ranges from `otf`, `ttf`, and `ttc` fonts as needed by MapLibre text rendering. Martin will generate them dynamically on the fly.
The glyph range generation is not yet cached, and may require external reverse proxy or CDN for faster operation.
The glyph range generation is not yet cached, and may require external reverse proxy or CDN for faster operation.

## API
Fonts ranges are available either for a single font, or a combination of multiple fonts. The font names are case-sensitive and should match the font name in the font file as published in the catalog. Make sure to URL-escape font names as they usually contain spaces.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/50-tools.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CLI Tools
# CLI Tools

Martin project contains additional tooling to help manage the data servable with Martin tile server.

Expand All @@ -9,4 +9,4 @@ Use `mbtiles --help` to see a list of available commands, and `mbtiles <command>

This tool can be installed by compiling the latest released version with `cargo install mbtiles`, or by downloading a pre-built binary from the [releases page](https://github.com/maplibre/martin/releases/latest).

The `mbtiles` utility builds on top of the [MBTiles specification](https://github.com/mapbox/mbtiles-spec). It adds a few additional conventions to ensure that the content of the tile data is valid, and can be used for reliable diffing and patching of the tilesets.
The `mbtiles` utility builds on top of the [MBTiles specification](https://github.com/mapbox/mbtiles-spec). It adds a few additional conventions to ensure that the content of the tile data is valid, and can be used for reliable diffing and patching of the tilesets.
2 changes: 1 addition & 1 deletion docs/src/53-mbtiles-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mbtiles validate src_file.mbtiles
```

## SQLite Integrity check
The `validate` command will run `PRAGMA integrity_check` on the file, and will fail if the result is not `ok`. The `--integrity-check` flag can be used to disable this check, or to make it more thorow with `full` value. Default is `quick`.
The `validate` command will run `PRAGMA integrity_check` on the file, and will fail if the result is not `ok`. The `--integrity-check` flag can be used to disable this check, or to make it more thorow with `full` value. Default is `quick`.

## Schema check
The `validate` command will verify that the `tiles` table/view exists, and that it has the expected columns and indexes. It will also verify that the `metadata` table/view exists, and that it has the expected columns and indexes.
Expand Down
2 changes: 1 addition & 1 deletion mbtiles/tests/mbtiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use sqlx::{query, query_as, Executor as _, Row, SqliteConnection};

const TILES_V1: &str = "
INSERT INTO tiles (zoom_level, tile_column, tile_row, tile_data) VALUES
--(z, x, y, data) -- rules: keep if x=0, edit if x=1, remove if x=2
--(z, x, y, data) -- rules: keep if x=0, edit if x=1, remove if x=2
(5, 0, 0, cast('same' as blob))
, (5, 0, 1, cast('' as blob)) -- empty tile, keep
, (5, 1, 1, cast('edit-v1' as blob))
Expand Down

0 comments on commit 09dd2be

Please sign in to comment.