[OSRM-talk] via_points in output

Florian Lohoff f at zz.de
Tue Nov 19 07:35:13 UTC 2013


On Mon, Nov 18, 2013 at 12:20:44PM -0500, Stephen Woodbridge wrote:
> Flo,
> 
> pgRouting has a function to node a network of lines. It basically
> does exactly this.
> 
> It takes a table of linestring geometries, chops all the strings at
> the intersection and forms a correctly "noded" result in a new
> table, maintaining a back reference to the original table so you can
> move any attributes over to the new table.
> 
> https://github.com/pgRouting/pgrouting/blob/master/src/common/sql/pgrouting_node_network.sql
> 
> Let me know if you want to try this and need help getting started.

I solved it already much quicker - Breaking down routes in segments
who show up multiple times.

But to make the long story short - now breaks my graph selection
algorithm ;) Some assumptions don't hold up finding the best graph now.

So back to the drawing board :)

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20131119/0a32726b/attachment.pgp>


More information about the OSRM-talk mailing list