I am looking to be able able to link the Vertex ID with the coordinate positions.
Using m.edge_matrix
I can generate the list of vertex IDs for the edges that form a polyline. What is the easiest way to link this back to the actual coordinates?
Using m.vertex_matrix
produces the list of coordinates, but has no reference to the Vertex ID. The order in which the coordinates are listed in m.vertex_matrix
doesn't appear to link to the order in which they appear in m.edge_matrix
Many thanks.