[Qgis-developer] Adding a feature to a layer with joined fields

Denis Rouzaud denis.rouzaud at gmail.com
Thu May 30 00:42:11 PDT 2013


Hi Minoru,

Then I can't wait for your patches to be integrated!
Is there any reason why it's not accepted yet???

Also, it would be really nice to see joined fields automatically updated 
while changing the target field...

Cheers,

Denis



On 05/30/2013 09:05 AM, Minoru Akagi wrote:
> Hi,
>
> 2013/5/30 Denis Rouzaud <denis.rouzaud at gmail.com>:
>> Hi all,
>>
>> Regarding blocker #7072, I wonder if it really makes sense to have joined
>> fields than can be filled by the user in the edit form while creating a
>> feature. These fields should not be edited at all.
>> I would suggest not to show them at creation and to disable the joined
>> fields while editing.
>>
>> What do you think?
> I think it's right. In 1.8, joined fields are editable. Input values
> are displayed in the attribute table, but their values are not saved
> when I save the layer as a new file.
> My patch[1] does not hide joined fields in new feature form, but it
> makes joined fields uneditable. As soon as we create a new feature on
> join layer, fields in the joined table are bind to the new feature
> corresponding to the value of the target field. I believe that editing
> join layer should work well with two patches[1][2].
>
> [1] https://github.com/qgis/Quantum-GIS/pull/576
> [2] https://github.com/qgis/Quantum-GIS/pull/546
>
> Minoru



More information about the Qgis-developer mailing list