pgRouting / osm2pgrouting

Import tool for OpenStreetMap data to pgRouting database
https://pgrouting.org
GNU General Public License v2.0
288 stars 112 forks source link

osm_elements - fixed boolean assignment with boost::lexical_cast #219

Closed cayetanobv closed 6 years ago

cayetanobv commented 6 years ago

Fixing #218

This error is raising because a bad boolean assignment using boost::lexical_cast while osm2pgrouting is parsing OSM elements. I reproduced the error with my own dataset too.

cayetanobv commented 6 years ago

More info: This bug is a regression because it was fixed in osm2pgrouting versions before v2.3.0 (in v2.2.0 was working fine). The code is exactly the same it was in v2.2.2.

cvvergara commented 6 years ago

@cayetanobv Can you also change the version number to 2.3.4 its on this file: src/osm_elements/osm2pgrouting.cpp

cayetanobv commented 6 years ago

@cvvergara done!

cvvergara commented 6 years ago

@cayetanobv I added you as part of the osm2pgRouting team, so, as new member regalito: you can do the merge :) You will also be able to review.

cayetanobv commented 6 years ago

Thanks @cvvergara !