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

Read additional files from QGIS project file #48

Open
fgravin opened this issue Sep 10, 2024 · 1 comment
Open

Read additional files from QGIS project file #48

fgravin opened this issue Sep 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fgravin
Copy link

fgravin commented Sep 10, 2024

This is a proposal to slightly improve the developer experience while using the qgis-js API.

At the moment, we have to list all the files that are used within the QGIS project, beside the QGIS project file itself.
eg.

const source =
  "/Glacier_3857";
const files = ["glaciers.qgs","glaciers.gpkg", "glaciers_attachments.zip"];

It would be great if the additional files could be guessed by the API by reading the QGIS project file.

@boardend boardend added the enhancement New feature or request label Sep 10, 2024
@boardend
Copy link
Collaborator

Agree, it would be nice to just point to a project and query all involved files from there

Would be easy to expose/implement, if QGIS provides something like this internally, cc @wonder-sk.

Note that there is also the @qgis-js/utils package that helps to download many files from a web server, a GitHub repo, or the local file system

@boardend boardend changed the title 💡 Read additional files from QGIS project file Read additional files from QGIS project file Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants