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

Matthias Kuhn matthias at opengis.ch
Tue Nov 8 03:09:06 PST 2016


Hi Nicolas,

This is a limitation of the current implementation.

You can either add a new station without geometry first and then select
it in the attribute table and use the add part tool to add a geometry.

Or add it from its own layer and then link it to the parent observation.

I agree there is room for improvement.

Regards
Matthias

On 11/08/2016 11:49 AM, 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
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> 



More information about the Qgis-user mailing list