Skip to content

Commit 39599cd

Browse files
Merge branch 'main' into styles
2 parents f153221 + 7555baa commit 39599cd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mbtiles/src/metadata.rs

+6
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ impl Mbtiles {
136136
tj.other.insert(name, Value::String(value));
137137
}
138138
"agg_tiles_hash" => agg_tiles_hash = Some(value),
139+
"scheme" => {
140+
if value != "tms" {
141+
let file = &self.filename();
142+
warn!("File {file} has an unexpected metadata value {name}='{value}'. Only 'tms' is supported. Ignoring.");
143+
}
144+
}
139145
_ => {
140146
let file = &self.filename();
141147
info!("{file} has an unrecognized metadata value {name}={value}");

0 commit comments

Comments
 (0)