-
Notifications
You must be signed in to change notification settings - Fork 0
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
User uploads GeoJSON - user will see paths for the converted JSON, not their original GeoJSON #56
Comments
Good catch. Ideally, we would show the path to the error in the GeoJSON file. If that's not possible, we should provide the necessary information (identifiers etc.) and guidance to help the user locate the error. How is this issue handled in 360Giving (where data is usually uploaded in spreadsheet format) and in IATI (XML format)? |
Noting that this issue interacts with #30 |
Flatten tool already has built in functions that produce cell mappings. We'd have to code something similar into our GeoJSON->JSON conversion in our new lib. There may be some specs to work out first, such as for an org that is referenced multiple times do we just list the first time we see it or all times? (We don't need it in our JSON->GeoJSON conversion right?) Doable, but would take time - so I'll ask for prioritisation. I guess a shortcut for now is not show paths if GeoJSON was uploaded? Any path bits in the UI essentially need to be flexible anyway (cos ideally they would show CSV mappings too, so they have 3 possibilities!) so they will need work anyway. |
Yes, let's work that out in this issue.
Agreed.
I've added this issue and #57 to the project board to-do column and prioritised them.
Let's still show the paths until we have a better solution. I've made a PR to add a sentence to each results panel to clarify that errors are reported according to their location in the JSON format version of the data: #59 |
eg the path's shown in additional checks errors section of UI.
Is this a problem? Do we need to make clear somehow?
The text was updated successfully, but these errors were encountered: