pgrouting icon indicating copy to clipboard operation
pgrouting copied to clipboard

switched id and geom in notice by pgr_nodeNetwork

Open yobiSource opened this issue 9 years ago • 4 comments

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

yobiSource avatar Nov 08 '15 10:11 yobiSource

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

cvvergara avatar Nov 08 '15 19:11 cvvergara

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;

yobiSource avatar Nov 08 '15 20:11 yobiSource

Main discussion in #419

cvvergara avatar Nov 08 '15 21:11 cvvergara

Not working on pgr_nodeNetwork for version 3.0

cvvergara avatar Jul 19 '19 18:07 cvvergara