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

Date-field is not retained when adding original attributes #58

Open
dieuska opened this issue Oct 4, 2024 · 1 comment
Open

Date-field is not retained when adding original attributes #58

dieuska opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working research
Milestone

Comments

@dieuska
Copy link
Collaborator

dieuska commented Oct 4, 2024

At the moment , data-fields are transformed to string, to ensure json-loads/dumps. This has to be researched how we can handle this

@dieuska dieuska added bug Something isn't working research labels Oct 4, 2024
@dieuska dieuska added this to the 0.9.9 milestone Oct 4, 2024
@dieuska
Copy link
Collaborator Author

dieuska commented Oct 8, 2024

At the moment (after release brdrQ 0.9.8) all QDate-fields are transformed to datetime in preparation step. So the dates are handled as datetime in brdr. And there is no problem to export them back to QGIS. But maybe we should do further research if this can be handled more generally.
We also made a change in brdr (write_geojson) so objects that could not be serialized will be serialized as string by default so it does not give an error when exporting the results to geojson.

@dieuska dieuska modified the milestones: 0.9.9, 0.9.10 Nov 14, 2024
@dieuska dieuska self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working research
Projects
None yet
Development

No branches or pull requests

1 participant