【问题标题】:Pgrouting functions and geoms type not found未找到 Pgrouting 功能和几何类型
【发布时间】:2013-10-29 15:11:06
【问题描述】:

我从源代码安装了postgresql 9.1postgis 2.0。 现在我编译并安装了pgrouting 2.0(经过一小时搜索依赖项)。 我在postgres 的数据库中创建了extension

我包含了来自 sql 文件 pgrouting.sql 的函数 但我需要的功能在pgrouting_legacy.sqlpgrouting_dd_legacy.sql

错误输出为:psql:/usr/share/postgresql/9.1/contrib/pgrouting-2.0/pgrouting_legacy.sql:299: ERROR: type "geoms" does not exist

Postgresql 和 Postgis 工作正常...

我遵循了这个文档: http://pgrouting.org/docs/1.x/install.html

http://www.bostongis.com/PrinterFriendly.aspx?content_name=pgrouting_osm2po_1

【问题讨论】:

    标签: gis postgresql-9.1 postgis pgrouting


    【解决方案1】:

    我认为您应该遵循 pgRouting 2.0 的安装说明,而不是上面链接的旧 1.x。见这里:http://docs.pgrouting.org/2.0/en/doc/src/installation/build.html#build

    【讨论】:

    • 感谢您的回答。是我的错。我安装成功了,但是我尝试启动一些 pgRouting 2.0 中没有的功能,所以我认为安装失败了。
    猜你喜欢
    • 1970-01-01
    • 2021-10-18
    • 2013-01-09
    • 2012-02-26
    • 2021-08-19
    • 1970-01-01
    • 2019-12-28
    • 2010-11-07
    • 1970-01-01
    相关资源
    最近更新 更多