[postgis-users] OpenStreetMap + osm2pgsql + pgRouting into Postgis

Maria Arias de Reyna marias at emergya.es
Wed May 19 04:21:20 PDT 2010


El Wednesday 19 May 2010, roshni.spain escribió:
> Hi,
> how can i be sure about this? If i get wrong results i mean ...

Well, you can try some samples and check it by hand.

If I am not mistaken, that number is used to know the size of the buffer used 
to calculate which node goes to each vertex. 

If you use a small number and the lines you are using are not close enough, 
pgrouting will think they are not touching and will not assign them the same 
vertex.

If you use a big number, pgrouting can think that lines, who should not be 
touching, are touching. Then it can lead you to stupid routes, like jumping 
from one road to the paralell.

-- 
María Arias de Reyna Domínguez
Área de Operaciones

Emergya Consultoría 
Tfno: +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73 
www.emergya.es 



More information about the postgis-users mailing list