<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi All,</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I am using pgr_nodeNetwork with threshold 0.00001 to create nodes and pgr_createTopology with a threshold of 0.0001 on the GPS traces which I have collected. The resultant graph from this data looks weird due to the creation of nodes so close to each other as I have visualized in the attached pictures. The black circles are the nodes and you could see that they are created such a way they are overlapping densely. I thought using pgr_nodeNetwork threshold could solve this issue but it did not help me in this case.</font></div>


<div><font face="arial, helvetica, sans-serif"><br></font></div><div><div><font face="arial, helvetica, sans-serif">If I increase the threshold above 0.00001, I get the following error</font></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<font face="arial, helvetica, sans-serif">psql:run_pgr_node_network.sql:1: ERROR:  getPoint4d_p: point offset out of range<br>CONTEXT:  SQL statement "create temp table inter_loc on commit drop as ( select * from (<br>


        (select l1id, l2id, st_linelocatepoint(line,source) as locus from intergeom)<br>         union<br>        (select l1id, l2id, st_linelocatepoint(line,target) as locus from intergeom)) as foo<br>        where locus<>0 and locus<>1)"<br>


PL/pgSQL function pgr_nodenetwork(text,double precision,text,text,text) line 184 at EXECUTE statement</font></blockquote></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br>


</font></div><div><font face="arial, helvetica, sans-serif">So the graph formed out of my GPS traces is so noisy and not able to use it for any of my experiments. Please suggest if I can use any other function or approach to make my graph with more cleaner structure.</font></div>


<div><font face="arial, helvetica, sans-serif"><br></font></div><font face="arial, helvetica, sans-serif">-- <br>Thanks,</font><div><font face="arial, helvetica, sans-serif">Raghavan KL</font></div>
</div></div>