pgrouting
pgrouting copied to clipboard
switched id and geom in notice by pgr_nodeNetwork
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
it shouldn't have found the geometry: https://github.com/pgRouting/pgrouting/blob/master/src/common/sql/pgrouting_node_network.sql#L85
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;
Main discussion in #419
Not working on pgr_nodeNetwork
for version 3.0