Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Dec 10, 2024
1 parent 7602c2f commit 8a44863
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
12 changes: 12 additions & 0 deletions docs/src/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,18 @@ mbtiles:
# named source matching source name to a single file
mb-src1: /path/to/mbtiles1.mbtiles

# Cloud Optimized GeoTIFF File Sources
cog:
paths:
# scan this whole dir, matching all *.tif files
- /dir-path
# specific tif file will be published as a cog source
- /path/to/pmt.pmtiles
sources:
# named source matching source name to a single file
cog-src1: /path/to/cog1.tif
cog-src2: /path/to/cog2.tif

# Sprite configuration
sprites:
paths:
Expand Down
9 changes: 5 additions & 4 deletions docs/src/sources-cog-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ Martin can serve local [COG(Cloud Optimized GeoTIFF)](https://cogeo.org/) files.
|colory type|bits per sample|supported|status|
|----|----|----|----|
|rgb/rgba|8|||
|rgb/rgba|16/32|🛠️|working on|
|gray|8/16/32|🛠️|working on|
|rgb/rgba|16/32...|🛠️|working on|
|gray|8/16/32...|🛠️|working on|

## Run Martin with CLI to serve cog fiels

**Run Martin with CLI to serve cog fiels**
```bash
martin /path/to/dir_contains_cog /path/to/cog.tif
```

**Run Martin with configuration file**
## Run Martin with configuration file

```yml
keep_alive: 75

Expand Down

0 comments on commit 8a44863

Please sign in to comment.