I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
Looking at the Gist, there is no need anymore to compile PostGIS 2.0, because it already has packages in the UbuntuGIS unstable repository.
It furthermore installs pgRouting as packages as well as osm2pgrouting, which is good.
I don’t know, why it doesn’t work in your case and why you’re missing tables. Well, there is a t least one issue with osm2pgrouting when using PostGIS 2.0, which requires some hack. And you may have to load “legacy.sql”.
Just a few days ago I updated the pgRouting installer for the new OSGeo Live DVD and that it is working has been confirmed by several people: http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/branches/osgeolive_6_5/bin/install_pgrouting.sh
So maybe this OSGeo Live install script is more up-to-date. Because pgRouting/osm2pgrouting still may have issues with PostGIS 2.0, you either need to fix some wrapper SQL functions or load legacy.sql to your database (see line #97).
And the hack for osm2pgrouting is from line #138.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
Looking at the Gist, there is no need anymore to compile PostGIS 2.0, because it already has packages in the UbuntuGIS unstable repository.
It furthermore installs pgRouting as packages as well as osm2pgrouting, which is good.
I don’t know, why it doesn’t work in your case and why you’re missing tables. Well, there is a t least one issue with osm2pgrouting when using PostGIS 2.0, which requires some hack. And you may have to load “legacy.sql”.
Just a few days ago I updated the pgRouting installer for the new OSGeo Live DVD and that it is working has been confirmed by several people: http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/branches/osgeolive_6_5/bin/install_pgrouting.sh
So maybe this OSGeo Live install script is more up-to-date. Because pgRouting/osm2pgrouting still may have issues with PostGIS 2.0, you either need to fix some wrapper SQL functions or load legacy.sql to your database (see line #97).
And the hack for osm2pgrouting is from line #138.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
You can’t run this script just as it is, because it uses the same sample data, that has been downloaded by the OSM install script before (different script).
Also OSGeo Live has a an admin user named “user”, so this might not work for you either.
So I would recommend you to just pick the commands you need and change them where necessary. You can use your own OSM data for example, but you probably need to adjust the path then.
Looking at the Gist, there is no need anymore to compile PostGIS 2.0, because it already has packages in the UbuntuGIS unstable repository.
It furthermore installs pgRouting as packages as well as osm2pgrouting, which is good.
I don’t know, why it doesn’t work in your case and why you’re missing tables. Well, there is a t least one issue with osm2pgrouting when using PostGIS 2.0, which requires some hack. And you may have to load “legacy.sql”.
Just a few days ago I updated the pgRouting installer for the new OSGeo Live DVD and that it is working has been confirmed by several people: http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/branches/osgeolive_6_5/bin/install_pgrouting.sh
So maybe this OSGeo Live install script is more up-to-date. Because pgRouting/osm2pgrouting still may have issues with PostGIS 2.0, you either need to fix some wrapper SQL functions or load legacy.sql to your database (see line #97).
And the hack for osm2pgrouting is from line #138.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
You can’t run this script just as it is, because it uses the same sample data, that has been downloaded by the OSM install script before (different script).
Also OSGeo Live has a an admin user named “user”, so this might not work for you either.
So I would recommend you to just pick the commands you need and change them where necessary. You can use your own OSM data for example, but you probably need to adjust the path then.
Looking at the Gist, there is no need anymore to compile PostGIS 2.0, because it already has packages in the UbuntuGIS unstable repository.
It furthermore installs pgRouting as packages as well as osm2pgrouting, which is good.
I don’t know, why it doesn’t work in your case and why you’re missing tables. Well, there is a t least one issue with osm2pgrouting when using PostGIS 2.0, which requires some hack. And you may have to load “legacy.sql”.
Just a few days ago I updated the pgRouting installer for the new OSGeo Live DVD and that it is working has been confirmed by several people: http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/branches/osgeolive_6_5/bin/install_pgrouting.sh
So maybe this OSGeo Live install script is more up-to-date. Because pgRouting/osm2pgrouting still may have issues with PostGIS 2.0, you either need to fix some wrapper SQL functions or load legacy.sql to your database (see line #97).
And the hack for osm2pgrouting is from line #138.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.
You can’t run this script just as it is, because it uses the same sample data, that has been downloaded by the OSM install script before (different script).
Also OSGeo Live has a an admin user named “user”, so this might not work for you either.
So I would recommend you to just pick the commands you need and change them where necessary. You can use your own OSM data for example, but you probably need to adjust the path then.
Looking at the Gist, there is no need anymore to compile PostGIS 2.0, because it already has packages in the UbuntuGIS unstable repository.
It furthermore installs pgRouting as packages as well as osm2pgrouting, which is good.
I don’t know, why it doesn’t work in your case and why you’re missing tables. Well, there is a t least one issue with osm2pgrouting when using PostGIS 2.0, which requires some hack. And you may have to load “legacy.sql”.
Just a few days ago I updated the pgRouting installer for the new OSGeo Live DVD and that it is working has been confirmed by several people: http://trac.osgeo.org/osgeo/browser/livedvd/gisvm/branches/osgeolive_6_5/bin/install_pgrouting.sh
So maybe this OSGeo Live install script is more up-to-date. Because pgRouting/osm2pgrouting still may have issues with PostGIS 2.0, you either need to fix some wrapper SQL functions or load legacy.sql to your database (see line #97).
And the hack for osm2pgrouting is from line #138.
I am trying to use pgrouting following this tutorial. Currently I am in section 4.2. However when I try to execute the command of section 4.2, it only creates 3 tables name classes, nodes and types. But the document says, it should create 8 tables.