fix deg output in geographjsonoutput

This commit is contained in:
Patrick Brosi 2018-08-08 18:58:48 +02:00
parent 713262f756
commit 03aa3c5a7d

View file

@ -23,7 +23,7 @@ void GeoGraphJsonOutput::print(const util::graph::Graph<N, E>& outG,
if (!n->pl().getGeom()) continue;
json::Dict props{{"id", toString(n)},
{"deg", toString(n->getInDeg() + n->getOutDeg())},
{"deg", toString(n->getDeg())},
{"deg_out", toString(n->getOutDeg())},
{"deg_in", toString(n->getInDeg())}};