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

upgrade loses extra data in V2 -> V3 upgrade #448

Closed
olsen232 opened this issue Jun 24, 2021 · 0 comments
Closed

upgrade loses extra data in V2 -> V3 upgrade #448

olsen232 opened this issue Jun 24, 2021 · 0 comments
Assignees

Comments

@olsen232
Copy link
Collaborator

kart upgrade works by treating every dataset at every commit in the V2 repo as a datasource to be imported, presenting the same interface as it would if you imported from a GPKG or a shape file.

This is good from a reuse of code perspective and is likely to work fine for our users data. However, our own repos have extra data that is not generally importable from GPKG or similar, but which we need to preserve and is not currently being preserved. Specifically -

  • attachments (eg license.txt, note this is not yet fully supported by kart)
  • extra kart-specific metadata (generated-pks.json, which contains information to help us recognise new versions of existing features from pk-less datasources where we can't use the PK to do so).

Within the kart dataset tree, these blobs are found at the following places:

<dataset-path>/
    LICENSE.txt <-- attachment not be preserved by kart upgrade
    .sno-table/
        meta/
            title
            description
            schema.json
            generated-pks.json <-- extra metadata not preserved by kart upgrade
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

2 participants