You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-11-06 13:12:07

the_drexler
New Member
Registered: 2015-11-06
Posts: 1

Algorithem to split ways in street elements

Hello osm community,

I'm really new to osm software development. Since days I try to develop an algorithem, that provides me a new kind of osm element - I call it a "street element". What I want to have is an element with an ID that contains a poliline between two crossings or a endpoint and a crossing. I assume that somebody else did already developed such an algorithem. Can somebody give me a hint?

Best regards
Max

Offline

#2 2015-11-09 13:17:25

Richard
Member
From: Charlbury, UK
Registered: 2007-04-24
Posts: 427
Website

Re: Algorithem to split ways in street elements

What you're describing is commonly called a "routing graph". A quick Googling will lead you to many implementations of this, such as those used by route-planning software such as OSRM or Graphhopper.

Offline

Board footer

Powered by FluxBB