Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkAndshark committed Nov 29, 2024
1 parent 77ee589 commit 9459d4f
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/expected/auto/catalog_auto.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
"content_type": "application/x-protobuf",
"description": "public.points_empty_srid.geom"
},
"rgb_u16": {
"content_type": "image/png"
},
"rgb_u8": {
"content_type": "image/png"
},
Expand Down
6 changes: 6 additions & 0 deletions tests/expected/auto/rgb_u16.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tilejson": "3.0.0",
"tiles": [
"http://localhost:3111/rgb_u16/{z}/{x}/{y}"
]
}
Binary file added tests/expected/auto/rgb_u16_0_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/expected/auto/rgb_u16_0_0_0.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/output/auto/rgb_u16_0_0_0.png: PNG image data, 256 x 256, 16-bit/color RGBA, non-interlaced
Binary file added tests/expected/auto/rgb_u16_2_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/expected/auto/rgb_u16_2_0_0.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/output/auto/rgb_u16_2_0_0.png: PNG image data, 256 x 256, 16-bit/color RGBA, non-interlaced
Binary file added tests/expected/auto/rgb_u16_2_1_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/expected/auto/rgb_u16_2_1_1.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/output/auto/rgb_u16_2_1_1.png: PNG image data, 256 x 256, 16-bit/color RGBA, non-interlaced
1 change: 1 addition & 0 deletions tests/expected/auto/save_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ cog:
gray_u16: tests/fixtures/cog/gray_u16.tif
gray_u32: tests/fixtures/cog/gray_u32.tif
gray_u8: tests/fixtures/cog/gray_u8.tif
rgb_u16: tests/fixtures/cog/rgb_u16.tif
rgb_u8: tests/fixtures/cog/rgb_u8.tif
sprites: tests/fixtures/sprites/src1
fonts:
Expand Down
Binary file added tests/fixtures/cog/rgb_u16.tif
Binary file not shown.
5 changes: 5 additions & 0 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ test_png rgb_u8_0_0_0 rgb_u8/0/0/0
test_png rgb_u8_3_0_0 rgb_u8/3/0/0
test_png rgb_u8_3_1_1 rgb_u8/3/1/1

test_jsn rgb_u16 rgb_u16
test_png rgb_u16_0_0_0 rgb_u16/0/0/0
test_png rgb_u16_2_0_0 rgb_u16/2/0/0
test_png rgb_u16_2_1_1 rgb_u16/2/1/1

test_png gray_u8_0_0_0 gray_u8/0/0/0
test_png gray_u8_2_0_0 gray_u8/2/0/0
test_png gray_u8_2_1_1 gray_u8/2/1/1
Expand Down

0 comments on commit 9459d4f

Please sign in to comment.