pgRouting / pgrouting

Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
https://pgrouting.org
GNU General Public License v2.0
1.12k stars 364 forks source link

switched id and geom in notice by pgr_nodeNetwork #423

Open yobiSource opened 8 years ago

yobiSource commented 8 years ago

call:

SELECT pgr_nodeNetwork('t_r_osm_ways',0.01,'gid','geom','test1')

log output:

HINWEIS:  pgr_nodeNetwork('t_r_osm_ways',0.01,'geom','gid','test1')

https://github.com/pgRouting/pgrouting/blob/master/src/common/sql/pgrouting_node_network.sql#L38

cvvergara commented 8 years ago

it shouldn't have found the geometry: https://github.com/pgRouting/pgrouting/blob/master/src/common/sql/pgrouting_node_network.sql#L85

yobiSource commented 8 years ago

Yes, occurs if I copy the line from the log, to re-use.

line 38 should be:

raise notice 'pgr_nodeNetwork(''%'',%,''%'',''%'',''%'')',edge_table,tolerance,id,the_geom,table_ending;
cvvergara commented 8 years ago

Main discussion in #419

cvvergara commented 4 years ago

Not working on pgr_nodeNetwork for version 3.0