mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 13:21:59 +03:00
de6b681d74
Limit what gets copied from one mbtiles to another. Closes #1069
38 lines
794 B
Plaintext
38 lines
794 B
Plaintext
---
|
|
source: mbtiles/tests/copy.rs
|
|
expression: actual_value
|
|
---
|
|
[[]]
|
|
type = 'table'
|
|
tbl_name = 'metadata'
|
|
sql = '''
|
|
CREATE TABLE metadata (
|
|
name text NOT NULL PRIMARY KEY,
|
|
value text)'''
|
|
values = [
|
|
'( "agg_tiles_hash", "9ED9178D7025276336C783C2B54D6258" )',
|
|
'( "md-edit", "value - v1" )',
|
|
'( "md-remove", "value - remove" )',
|
|
'( "md-same", "value - same" )',
|
|
]
|
|
|
|
[[]]
|
|
type = 'table'
|
|
tbl_name = 'tiles'
|
|
sql = '''
|
|
CREATE TABLE tiles (
|
|
zoom_level integer NOT NULL,
|
|
tile_column integer NOT NULL,
|
|
tile_row integer NOT NULL,
|
|
tile_data blob,
|
|
PRIMARY KEY(zoom_level, tile_column, tile_row))'''
|
|
values = []
|
|
|
|
[[]]
|
|
type = 'index'
|
|
tbl_name = 'metadata'
|
|
|
|
[[]]
|
|
type = 'index'
|
|
tbl_name = 'tiles'
|