Essentially I have a shapefile of polylines and wish to create duplicates and based on attribute data.

I have route data for individuals as polylines. Then I have attribute data which tells me the number of people and what are the members of the group. The number of individuals is variable ranging from 1 -10 and I would want to duplicate to create a single line for each individual.

This is to examine footfall. I realise that with a grid I could simply sum the number of members for each polyline togive me footfall. However I wish to examine different members of the group differently and treat their impacts differently, therefore I need single polylines for each member of the group.

A similar question has been asked (below), but this is in ArcGIS and I have only QGIS available.

Creating duplicate features based on many-to-one conversion of related table?


1 Answer 1


A Linear Referencing System may be of use here. This way you do not have to create many duplication's of the same data. Take a read of the answer from @gcarrillo on the QGIS Linear Referencing Post

From ESRI on Why to Use Linear Referencing:

Linear referencing is also used to associate multiple sets of attributes to portions of linear features without requiring that underlying lines be segmented (split) each time that attribute values change. For example, most road centerline feature classes are segmented where three or more road segments intersect and where the road names change. Users often want to record many additional attributes about the roads. Without the use of linear referencing, this could require that roads be split into many tiny segments at each location where attribute values change. As an alternative, these situations can be handled as linear referencing events along the roads as in the figure below:

Multiple sets of attributes for road features

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.