[pgrouting-users] problem with length geometries

Bryan Hempen brhempen at uos.de
Sun Jan 17 10:35:43 EST 2010


hello!

i would to know how osm2pgrouting calculates the length of geometries, i 
did not find it in the code.

the reason for that is that the column length of table ways shows a 
different value as postgis's ST_length(length). try this:

select ST_length(the_geom), length from ways

can anyone explain that to me?

thanks,
Bryan



More information about the Pgrouting-users mailing list