Changing metadata
omrivolk opened this issue · 2 comments
omrivolk commented
I want to change the -n -N -A
attributes of a tile set. What's the easiest way?
Should tile-join
work like this?
tile-join -n NEW_NAME -N NEW_DESCRIPTION -A NEW_ATTRIBUTION -o new.mbtiles old.mbtiles
Is the new tile set guaranteed to be exactly the same?
e-n-f commented
The new tileset is intended to be exactly the same, but the layers and features do get decoded and reencoded, so there is no guarantee that the new tileset will have exactly the same representation for each tile.
If you do need the tiles to be exactly the same, you could use sqlite3
to replace rows of the metadata
table without decoding and reencoding the tiles.
omrivolk commented
Thanks, that is a much better approach
…On Fri, May 10, 2019, 17:43 Eric Fischer ***@***.***> wrote:
The new tileset is intended to be exactly the same, but the layers and
features do get decoded and reencoded, so there is no guarantee that the
new tileset will have exactly the same representation for each tile.
If you do need the tiles to be exactly the same, you could use sqlite3 to
replace rows of the metadata table without decoding and reencoding the
tiles.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#758 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACR3HGTGVWHVBCTZ4SIFB7TPUWQ4RANCNFSM4HMB2RRA>
.