Closed asitemade4u closed 8 months ago
So, I checked the GISJOIN
column in both the GeoJSON file and the CSV file. There are NO duplicates.
What is true however, is that some rows are missing in the CSV file -- which makes sense as I have removed the NAs prior to exporting the CSV.
Eventually, there were two no_data lines in the GeoJSON and they were the culprit.
Thanks for the report. Indeed, the wording of the message should be changed to add the missing "to" and remove the unnecessary "s". However I checked your data (from #122) and there are non-unique values in the GISJOIN field of the GeoJSON layer.
If you change one of these values (for example changing the first "G3600050nodata" to "G3600050nodata1") when preparing your data, you should be able to make this join.
But Magrit should probably not forbid joining data when rows are missing in the dataset, just consider them as NAs and depict them as such.
In your case, this is not a problem because you removed the missing rows yourself.
If you had left them in (with empty values in the join field), that would have been a problem (that's what's being discussed here, I think: https://github.com/riatelab/magrit/issues/30).
This is a limitation of our current join system. We're probably not going to improve it (just fix bugs if necessary) because we're developing a completely new version of the application, the join system having been refactored to be more flexible in these respects.
Thank you for your prompt response.
I am having a blast with Magrit, which is a great program. I discovered it by previously using mapsf
, which is great too, and serves another kind of purpose.
BTW, being French and living in the U.S. I am happy to help you with any translation...
I am having a blast with Magrit, which is a great program.
Nice to read this, thanks :)
BTW, being French and living in the U.S. I am happy to help you with any translation...
I'm taking note of your suggestion! If you're interested we'll let you know when we'll be making a beta of the new version available (in a few months' time), if you're available then, I'm sure you'll have some good suggestions for us in that area!
I will be available for you, do not hesitate. I am testing Magrit in and out and am collecting all the (little) inconsistencies I find. Will send later.
When joining a basemap and a dataset I get the message:
Which is not relevant. One should possibly say:
The values on which to operate have to be unique.
Besides, it would be helpful to have a log of the duplicate rows.