Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Dec 26, 2024
1 parent d2f7ccc commit 7df3a73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/src/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ mbtiles:
# Cloud Optimized GeoTIFF File Sources
cog:
paths:
# scan this whole dir, matching all *.tif files
# scan this whole dir, matching all *.tif and *.tiff files
- /dir-path
# specific TIFF file will be published as a cog source
- /path/to/cogfile.tif
Expand Down
10 changes: 5 additions & 5 deletions docs/src/sources-cog-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Martin can also serve raster sources like local [COG(Cloud Optimized GeoTIFF)](h
```bash
# Configured with a directory containing TIFF files.
martin /with/tiff/dir1 /with/tiff/dir2
# Configured with dedicated TIFF file.
martin /path/to/target1.tif /path/to/target1.tif
# Configured with dedicated TIFF file, `.tiff` works either
martin /path/to/target1.tif /path/to/target2.tiff
# Configured with a combination of directories and dedicated TIFF files.
martin /with/tiff/files /path/to/target.tif
martin /with/tiff/files /path/to/target1.tif /path/to/target2.tiff
```

## Run Martin with configuration file
Expand All @@ -46,11 +46,11 @@ cache_size_mb: 8

cog:
paths:
# scan this whole dir, matching all *.tif files
# scan this whole dir, matching all *.tif and *.tiff files
- /dir-path
# specific TIFF file will be published as a cog source
- /path/to/target1.tif
- /path/to/target2.tif
- /path/to/target2.tiff
sources:
# named source matching source name to a single file
cog-src1: /path/to/cog1.tif
Expand Down

0 comments on commit 7df3a73

Please sign in to comment.