What is multiline string in gis? I have found when I use pgrouting certain edges have this geometric property mentioned as multiline string.
I am not sure what's the purpose of this geometry and how it actually defines an edge. Any insights?
|
What is multiline string in gis? I have found when I use pgrouting certain edges have this geometric property mentioned as multiline string. I am not sure what's the purpose of this geometry and how it actually defines an edge. Any insights? |
||||
|
|
|
A LINESTRING object consists of one and only one line with n vertices. A MULTILINESTRING object consists of 1 to m LINESTRINGs. In case of a routing network, it's not obvious to me why MULTILINESTRINGs would be used. If you plan to use pgRouting's shortest path function, the geometries are irrelevant anyway since it only needs source and target vertex ids for every edge. |
|||||||||
|