Skip to content

Commit 5014238

Browse files
author
Tristram Gräbener
committed
Bug correction : trunk reported as motorway
Closes Tristramg#7 (thanks again exploit32!)
1 parent 8e4c626 commit 5014238

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parameters.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool Edge_property::update(const std::string & key, const std::string & val)
108108
}
109109
else if(val == "trunk" || val == "trunk_link")
110110
{
111-
car_direct = car_motorway;
111+
car_direct = car_trunk;
112112
foot = foot_forbiden;
113113
bike_direct = bike_forbiden;
114114
}

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from setuptools import setup, find_packages, Extension
1010
setup(name='Osm4routing',
11-
version='1.0.3',
11+
version='1.0.4',
1212
author= 'Tristram Graebener',
1313
author_email = '[email protected]',
1414
description = 'A simple tool to parse OpenStreetMap data to use them for routing',

0 commit comments

Comments
 (0)