I have some spatial lines from a shapefile representing roads. I'd like to attribute to each segment an information, for example the state of the segment or more generally a scalar that gives an information on the segment. For example I'd like to map portion of the roads that need to be repaired or the portion of the roads that no longer exist.
As far I know, we can only attribute values to individual lines and this prevent to map anything that applies only to some portion of the lines.
My question is language and software agnostic. I'm actually able to deal with that programmatically using lines and points but them I don't know how to share that in a simple way that is compatible with GIS software.
Is there some file formats supported by spatial software to achieve this task?