[Qgis-user] Creating parent feature with geometry from child feature

Nicolas Boisteault boisteault at observatoire-environnement.org
Tue Nov 8 05:11:37 PST 2016


 

Hi Andreas, 

Yes you're right it is more logical to create station first then
observations. For some reasons I was not sure at beginning. 

Thank you. 

Le 2016-11-08 13:04, Neumann, Andreas a écrit : 

> Hi Nicolas, 
> 
> Seems strange to me that you start creating an observation first, and then want to the station. 
> 
> Wouldn't it be more natural to first create the station and then add observations from the observation form nested in the station form? 
> 
> That's how I do it. It seems logical to me and works fine. 
> 
> In real live, you also have to first build the house, before you can put furniture or people in it ... 
> 
> But maybe I did not correctly understand the reason why you do it the other way around. There may be a good reason. 
> 
> Greetings,
> Andreas 
> 
> On 2016-11-08 11:49, Nicolas Boisteault wrote: 
> 
>> Hi List, 
>> 
>> I have two tables : 
>> 
>> * station : gid, geom (point)
>> * observation : id, id_station (foreign key)
>> 
>> There is a 1:N relation; for one station feature there are multiple observation features. 
>> I add the relation between my two tables in QGIS -> project properties. 
>> I use the relation reference widget on id_station and check 'able the add of new entities' (not sure about my english translation) 
>> 
>> So now when I create a new observation I can click the plus symbol to add a station but I can't see how I can create the point geometry. I'm not able to click the map. 
>> 
>> Any hint? Thank you all. 
>> 
>> -- 
>> 
>> Nicolas BOISTEAULT
>> 
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user [1]
 

Links:
------
[1] http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161108/b86abd23/attachment.html>


More information about the Qgis-user mailing list