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

patch.sh error - no such table: map, no such table: images #116

Open
slutske22 opened this issue Nov 3, 2022 · 0 comments
Open

patch.sh error - no such table: map, no such table: images #116

slutske22 opened this issue Nov 3, 2022 · 0 comments

Comments

@slutske22
Copy link

I am trying to use the patch script to patch 2 .mbtiles files together. I run

./patch.sh source.mbtiles destination.mbtiles

And I get the output error

Parse error near line 6: no such table: map
Parse error near line 7: no such table: images

If I unpack the mbtiles and look at their metadata.json, the source has an empty object in its metadata, and the destination has some metadata:

{
    "version": "1.2",
    "bounds": "119.008200,17.000023,123.000192,24.000000",
    "description": "description",
    "type": "baselayer",
    "name": "name",
    "format": "png",
    "minzoom": "2",
    "maxzoom": "13"
}

I'm not sure I understand why the patch script is giving me this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant