Revision [2760]
This is an old revision of PgRouting made by MichalPalenik on 2010-03-17 08:51:02.
PgRouting
http://pgrouting.postlbs.org/
Inštalácia
návody na wiki alebo tu
Vcelku podľa návodov, až na:
- v osm2pgrouting pridať '#include "stdio.h" ' na začiatok src/XMLParser.cpp link
- ak chceme TSP treba veci navyše
Import do DB
dropdb pgrouting createdb pgrouting createlang plpgsql pgrouting cat /usr/share/postgresql/8.3/contrib/_int.sql | psql -q pgrouting cat /usr/share/postgresql/8.3/contrib/pg_trgm.sql | psql -q pgrouting cat /usr/share/postgresql-8.3-postgis/lwpostgis.sql | psql -q pgrouting cat /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql | psql -q pgrouting cat /usr/share/postlbs/routing_core.sql | sed 's/$libdir/\/usr\/lib\/postgresql\/8.4\/lib/' |psql pgrouting cat /usr/share/postlbs/routing_core_wrappers.sql | sed 's/$libdir/\/usr\/lib\/postgresql\/8.4\/lib/' |psql pgrouting # nevie to ist cez socket, treba ipv4 connect osm2pgrouting -file slovakia.osm -conf mapconfig.xml -dbname pgrouting -user user -passwd user -clean
Otestovanie inštalácie
ako ? na wiki je to TODOwebservice
todokonfigurácia pre chodcov a cyklistov
todo