Skip to content

Add output filename to name in mbtiles metadata#35

Merged
rudokemper merged 1 commit into
mainfrom
filenames-in-mbtiles-metadata
Feb 12, 2024
Merged

Add output filename to name in mbtiles metadata#35
rudokemper merged 1 commit into
mainfrom
filenames-in-mbtiles-metadata

Conversation

@rudokemper
Copy link
Copy Markdown
Member

While using this tool to create an offline map for a partner, I discovered that the name row in the metadata table of the mbtiles file is what is used by Mapeo to provide a name for the background map. This was just set to the source of the tiles (e.g. bing, mapbox) which is not super descriptive and will get confusing if multiple maps are added with the same source. So this is a quick change to include the output filename in the name in a format {outputFilename} - {sourceName} (e.g. "Oelemarie River - Bing Maps Satellite")

@rudokemper rudokemper marked this pull request as ready for review February 12, 2024 15:18
@rudokemper rudokemper merged commit 886fb36 into main Feb 12, 2024
@rudokemper rudokemper deleted the filenames-in-mbtiles-metadata branch February 12, 2024 15:18
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

Successfully merging this pull request may close these issues.

1 participant