-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implement XmlFilehandler #200
Comments
@mattiagiupponi as this issue is quite important for thuenen, would it be possible to create a patch release which includes this fix? What is your opinion on an early integration? Would it make sense only, after the geonode part have been improved? |
Hi @ridoo
If you want to upload XML and SLD files via API and track their status, it is possible to use it even if the front-end part is not yet ready. The API accepts the same parameters as the ones sent by the front end. the However, if you intend to allow the user to upload data through the user interface, it's better to wait until the front-end issue is resolved before proceeding. This is because even if the handlers are triggered, the user won't receive any feedback on their completion.
I'll sync with @giohappy when everything is ready and i'll let you know |
Thanks @mattiagiupponi for the clarification! |
Hi @ridoo |
@mattiagiupponi thanks for the info. Will the xml be used if I upload a dataset with xml file? The planned UI is for the metadata xml upload for an already existing dataset? |
If spatial files are uploaded along with other files, the spatial handler will handle both the files. geonode-importer/importer/handlers/common/vector.py Lines 607 to 608 in b2b038c
The handler check if the files exists and use them
Yes, thats why we had to create this two handlers, are used only during the upload for a pre-existing dataset. Let me know if is clear or some additional detail are needed :) |
Is your feature request related to a problem? Please describe.
As per GeoNode/geonode#11448 (Errors in metadata upload), the upload of a metadata file is broken since GeoNode/geonode#11363.
Describe the solution you'd like
We need a new handler for the metadata XML files.
The text was updated successfully, but these errors were encountered: