Graph Model for Open Street Map Data

(Giang Ngo) #1

I am working on Open Street Map (OSM) data, I want to import OSM data to DGraph database so I can write A* algorithm using DGraph, to find the optimal routes.
But I am new to the Graph Database, and I have no idea how to model OSM data as a graph.
Do the edges of a graph have their own properties like a road that connecting 2 intersection has its own name, type of road and length?

(Michel Conrado (Support Engineer)) #2

Edge Concept

An Edge can have specific attributes using Facets. But Facets are not first-class citizens.

We have a good tour for you

Also we have Geolocation

(Giang Ngo) #3

@MichelDiz, Thanks <3<3<3<3