centos安装pgrouting

来源:互联网 发布:站长之家软件下载 编辑:程序博客网 时间:2024/06/01 07:43

就按这个来:

https://wiki.postgresql.org/wiki/YUM_Installation

注意!不要装9.3,因为9.2才有pgrouting的二进制包

http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/repoview/letter_p.group.html

最后,按照 http://pgrouting.org/docs/1.x/install_centos.html

# Add core pgRouting functionspsql -U postgres -f /usr/share/postlbs/routing_core.sql routingpsql -U postgres -f /usr/share/postlbs/routing_core_wrappers.sql routingpsql -U postgres -f /usr/share/postlbs/routing_topology.sql routing

0 0
原创粉丝点击