Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cost column in not populated #62

Closed
cvvergara opened this issue May 29, 2015 · 2 comments
Closed

Cost column in not populated #62

cvvergara opened this issue May 29, 2015 · 2 comments

Comments

@cvvergara
Copy link
Member

Using this file
http://imaptools.com:8080/dl/Sion.zip
from pgRouting/pgrouting#278

osm2pgrouting -file "Sion.osm"   \
                       -conf "/usr/share/osm2pgrouting/mapconfig.xml"   \
                      -user myuser
                      -dbname issue278
                      -host localhost
                     -clean

psql issue278

select count(*) from ways where  to_cost is NULL;
 count 
-------
 20399

select count(*) from ways where not to_cost is NULL;
 count 
-------
     0
@sarthak0415
Copy link
Contributor

  1. to_cost column name should be "cost"
    because "cost" is the name that pgRouting use for that column and we need to be consistent

  2. we need to fill it up.
    because "cost" is compulsory to have values in the queries of pgRouting

@cvvergara
Copy link
Member Author

@sarthak-0415
Thanks for noticing it,
please can you fix this bugs, so we can merge it into develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants