<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Andreas,</p>
<p>Yes you're right it is more logical to create station first then observations. For some reasons I was not sure at beginning.</p>
<p>Thank you.</p>
<p>Le 2016-11-08 13:04, Neumann, Andreas a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Hi Nicolas,</p>
<p>Seems strange to me that you start creating an observation first, and then want to the station.</p>
<p>Wouldn't it be more natural to first create the station and then add observations from the observation form nested in the station form?</p>
<p>That's how I do it. It seems logical to me and works fine.</p>
<p>In real live, you also have to first build the house, before you can put furniture or people in it ...</p>
<p>But maybe I did not correctly understand the reason why you do it the other way around. There may be a good reason.</p>
<p>Greetings,<br />Andreas</p>
<p>On 2016-11-08 11:49, Nicolas Boisteault wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 -->
<p> </p>
<div>Hi List,</div>
<div> </div>
<div>I have two tables :</div>
<div>
<ul>
<li>station : gid, geom (point)</li>
<li>observation : id, id_station (foreign key)</li>
</ul>
<p>There is a 1:N relation; for one station feature there are multiple observation features.</p>
</div>
<div>I add the relation between my two tables in QGIS -> project properties.</div>
<div>I use the relation reference widget on id_station and check 'able the add of new entities' (not sure about my english translation)</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Any hint? Thank you all.</div>
<div> </div>
<div>-- <br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace;"><br /> Nicolas BOISTEAULT<br /><br /></div>
</div>
<p> </p>
<!-- node type 8 --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace;">_______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</blockquote>
</body></html>