Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic cog support #1590

Merged
merged 43 commits into from
Dec 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8c32d83
Add basic cog support
sharkAndshark Oct 21, 2024
00ae4e8
add test to rga_u8
sharkAndshark Nov 30, 2024
d72f933
just bless
sharkAndshark Dec 2, 2024
c14e57f
add test
sharkAndshark Dec 2, 2024
a58e8b9
cleanup
sharkAndshark Dec 3, 2024
767d431
wip
sharkAndshark Dec 9, 2024
84ded8f
wip
sharkAndshark Dec 10, 2024
a3f704d
wip
sharkAndshark Dec 10, 2024
7602c2f
wip
sharkAndshark Dec 10, 2024
8a44863
wip
sharkAndshark Dec 10, 2024
d035ff4
clippy
sharkAndshark Dec 10, 2024
3fd79d5
Verify whether it's tiled
sharkAndshark Dec 10, 2024
7ae9049
bypass ci
sharkAndshark Dec 10, 2024
2d727cc
remove result.png
sharkAndshark Dec 10, 2024
15d4656
Merge remote-tracking branch 'maplibre/main' into cog
sharkAndshark Dec 12, 2024
f9f2d07
Merge remote-tracking branch 'maplibre/main' into cog
sharkAndshark Dec 12, 2024
27de84f
remove not used crate
sharkAndshark Dec 12, 2024
1f6c01a
cleanup
sharkAndshark Dec 12, 2024
4cd9fe7
update document
sharkAndshark Dec 12, 2024
e0fd84b
add min_zoom and max_zoom to tilejson
sharkAndshark Dec 13, 2024
967c588
Update doc
sharkAndshark Dec 16, 2024
2635835
Typos and clarity improvemnts for errors
sharkAndshark Dec 16, 2024
0fb459c
cleanup
sharkAndshark Dec 16, 2024
c564111
remove get_tile_json
sharkAndshark Dec 16, 2024
313b1bd
Merge remote-tracking branch 'maplibre/main' into cog
sharkAndshark Dec 16, 2024
9b183f6
Update docs/src/config-file.md
sharkAndshark Dec 16, 2024
5934d88
Update docs/src/sources-cog-files.md
sharkAndshark Dec 16, 2024
907831d
Update docs/src/sources-cog-files.md
sharkAndshark Dec 16, 2024
f78e67a
Update martin/src/cog/errors.rs
sharkAndshark Dec 16, 2024
62c12d9
Update docs/src/sources-cog-files.md
sharkAndshark Dec 16, 2024
bf21fdc
Update docs/src/sources-cog-files.md
sharkAndshark Dec 16, 2024
3ba6ea0
update doc
sharkAndshark Dec 16, 2024
ad0da99
doc improvements
sharkAndshark Dec 16, 2024
6d2d206
Cleanup
sharkAndshark Dec 16, 2024
b8050e1
Merge remote-tracking branch 'upstream/main' into cog
sharkAndshark Dec 16, 2024
7de18bf
format doc
sharkAndshark Dec 16, 2024
3900817
just bless
sharkAndshark Dec 17, 2024
d716eb1
update doc about cog
sharkAndshark Dec 17, 2024
4504cb7
Merge remote-tracking branch 'upstream/main' into cog
sharkAndshark Dec 20, 2024
fdef798
remove unnecessary clippy rule
sharkAndshark Dec 22, 2024
f76234e
format cargo.toml
sharkAndshark Dec 22, 2024
e23458f
Merge remote-tracking branch 'upstream/main' into cog
sharkAndshark Dec 22, 2024
a4bc48f
Merge remote-tracking branch 'maplibre/main' into cog
sharkAndshark Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove get_tile_json
  • Loading branch information
sharkAndshark committed Dec 16, 2024
commit c564111e392a50830ec4ada72c51b4a8f42c2ca9
9 changes: 0 additions & 9 deletions martin/src/cog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,6 @@ impl SourceConfigExtras for CogConfig {
}
}

//todo add more to tileJson
fn get_tilejson(min_zoom: u8, max_zoom: u8) -> TileJSON {
tilejson! {
tiles: vec![],
minzoom: min_zoom,
maxzoom: max_zoom
}
}

fn get_meta(path: &PathBuf) -> Result<Meta, FileError> {
let tif_file = File::open(path).map_err(|e| FileError::IoError(e, path.clone()))?;
let mut decoder = Decoder::new(tif_file)
Expand Down