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

Expose supported upload file formats as configurations #2

Open
giohappy opened this issue Jul 1, 2022 · 0 comments
Open

Expose supported upload file formats as configurations #2

giohappy opened this issue Jul 1, 2022 · 0 comments

Comments

@giohappy
Copy link
Contributor

giohappy commented Jul 1, 2022

To start the testing of GeoPackage imports from the UI the .gpkg extension must be included in the supported extensions for the client.
This option is experimental and shouldn't land in master right away. Therefore, instead of creating a dedicated client branch, we want to take the opportunity to make the formats configurable, and let the client obtain the configurations from GeoNode.

The idea is make the client get this configuration from a new property __GEONODE__CONFIG__.localSettings.geonodeSettings.upload.supportedDatasetsFileTypes (notice the additional File infix, to clarify the purpose of this settings).

GeoNode will expose this configuration inside the goenode_config template, taking it from the settings.

I'm proposing a new upload configuration level where we can gather anything related to the upload configuration. For example, the documentMaxUploadSize could be moved here too.

This change will be merged only once the backend is ready to provide such a configuration.

@giohappy giohappy added the Epic label Jul 1, 2022
@giohappy giohappy changed the title Expose supported formats as configuration options Expose supported upload file formats as configuration options Jul 1, 2022
@giohappy giohappy changed the title Expose supported upload file formats as configuration options Expose supported upload file formats as configurations Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants