1、在pgadmin中创建一个数据库
2、创建扩展
CREATE EXTENSION postgis;
CREATE EXTENSION pgrouting;
CREATE EXTENSION postgis_topology;
CREATE EXTENSION fuzzystrmatch;
CREATE EXTENSION postgis_tiger_geocoder;
CREATE EXTENSION address_standardizer;
来源:博客园
作者:苹果园dog
链接:https://www.cnblogs.com/dog2016/p/11550954.html