Metrication errors and coding efficiency of chain-encoding schemes for the representation of lines and edges