Gis 找不到Pgrouting函数和geoms类型
我已经从源代码安装了Gis 找不到Pgrouting函数和geoms类型,gis,postgresql-9.1,postgis,pgrouting,Gis,Postgresql 9.1,Postgis,Pgrouting,我已经从源代码安装了postgresql 9.1和postgis 2.0。 现在我编译并安装了pgrouting 2.0(搜索依赖项一小时后)。 我在postgres中的数据库上创建了扩展名 我从sql文件pgrouting.sql 但是我需要的函数是pgrouting\u legacy.sql和pgrouting\u dd\u legacy.sql 错误输出为:psql:/usr/share/postgresql/9.1/contrib/pgrouting-2.0/pgrouting_lega
postgresql 9.1
和postgis 2.0
。
现在我编译并安装了pgrouting 2.0
(搜索依赖项一小时后)。
我在postgres
中的数据库上创建了扩展名
我从sql文件pgrouting.sql
但是我需要的函数是pgrouting\u legacy.sql
和pgrouting\u dd\u legacy.sql
错误输出为:psql:/usr/share/postgresql/9.1/contrib/pgrouting-2.0/pgrouting_legacy.sql:299:error:type“geoms”不存在
Postgresql和Postgis运行良好
我遵循了以下文件:
我认为您应该遵循pgRouting 2.0的安装说明,而不是您上面链接的旧1.x。请参见此处:谢谢您的回答。是我的错。我成功地安装了它,但我试图启动一些pgRouting 2.0中没有的功能,所以我认为安装失败了。