I've proceed by this tutorial to create routing topology: Create a Network Topology
They are using osm2pgsql tool for import data and next call pgr_createTopology
function.
When I proceed step by stup by this tutorial, and after executing pgr_createTopology
, I could not select any route. I find nearest vertices and next I use pgr_dijkstra
but I have no result. May be caused it by wrong tolerance which I use?
SELECT pgr_createTopology('planet_osm_roads', 0.00001, 'way', 'osm_id');
At first I try 0.00001, but next 0.001 but still no result. I've tried another datasource, no only osm2pgsql schema and still not works. Which topology should I use if my geometry column is Geometry (Linestring, 900913)
?
I can't use osm2pgrouting (RAM is not enough) or osm2po (route is not exact on start and end point).