-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
One to many / many to one joins #19775
Comments
Author Name: Matthias Kuhn (@m-kuhn) QGIS relations offer the possibility to define a 1:N relation and integrate with the feature form. http://fulcrumapp.com/blog/using-relations-in-qgis/
|
Author Name: Ed Hudspeth (Ed Hudspeth) But this doesn't allow you to update a table - you have to click on each object. What about tables with 1000s of records - really need to see the join functionality extended at least to allow you to concatenate all results rather than just take the first. |
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV) I don't think this should be closed. What is needed here is for the join functionality to allow for a 1-to-many join (like an SQL operation would do). It's useful and at times needed to do time series animation through TimeManager, etc. |
Author Name: Miroslav Umlauf (@mirouml) I also disagree with closing this. Integration with feature form doesn't really cut it in the case that somebody needs to create new dataset/table which includes all 1:N variations. |
Author Name: infobleep - (infobleep -) The ability to do open to many queries is extremely useful. The ability to return one table with all the records joined is also useful. Imagine if one to one joins only worked as relations did. Now would that be as useful as the existone one to one join geoprocessing function? I personally think not. Thus I feel it is the same with the one to many joins. I'd like many to many joins, aka full joins but I appreciate that would be technically complex to impliment.
Example: Join on Town name - currently only returns the first customer name it gets to, it would be good to list all. to Currently, any join performed on a table is a one to one join - it would be great to perform one to many joins. Example: Join on Town name - currently only returns the first customer name it gets to, it would be good to list all.
|
Author Name: Giovanni Manghi (@gioman) infobleep - wrote:
am I missing something? don't we have 1:n and n:m relations since a long now?
|
Cleaning session: I think we have relations usefull for forms and individual edits. I think the need raised here is inspired by ArcXXX that allows to propagate selections with one-to-many relations. I've always found it was a really unstraightful and cumbersome way of doing relational updates. |
To join tables 1:N, N:N we can use DB Manager to load a new layer, and then save as file...
https://sqlite.org/index.html |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. |
Author Name: Ed Hudspeth (Ed Hudspeth)
Original Redmine Issue: 11505
Redmine category:relations
Currently, any join performed on a table is a one to one join - it would be great to perform one to many joins.
Example:
Table A = Towns
Table B = Customers (aspatial)
Join on Town name - currently only returns the first customer name it gets to, it would be good to list all.
The text was updated successfully, but these errors were encountered: