postgresql-postGis空间数据

-bash-4.2$ psql
psql (10.4)
Type "help" for help.

postgres=# \dx
                                     List of installed extensions
  Name   | Version |   Schema   |                             Description                             
---------+---------+------------+---------------------------------------------------------------------
 plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
 postgis | 2.4.4   | public     | PostGIS geometry, geography, and raster spatial types and functions
(2 rows)
postgres=# 
postgres=# CREATE EXTENSION postgis;
CREATE EXTENSION
postgres=# 
postgres=# CREATE EXTENSION postgis_topology;
CREATE EXTENSION
postgres=# 
postgres=# 
postgres=# CREATE EXTENSION pgrouting;
ERROR:  could not open extension control file "/usr/pgsql-10/share/extension/pgrouting.control": No such file or directory
postgres=# 
postgres=# CREATE EXTENSION fuzzystrmatch;
CREATE EXTENSION
postgres=# 
postgres=# CREATE EXTENSION postgis_tiger_geocoder;
CREATE EXTENSION
postgres=# 
postgres=# CREATE EXTENSION address_standardizer;
CREATE EXTENSION
postgres=# 
postgres=# \dx
                                                                    List of installed extensions
          Name          | Version |   Schema   |                                                     Description                                                     
------------------------+---------+------------+---------------------------------------------------------------------------------------------------------------------
 address_standardizer   | 2.4.4   | public     | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step.
 fuzzystrmatch          | 1.1     | public     | determine similarities and distance between strings
 plpgsql                | 1.0     | pg_catalog | PL/pgSQL procedural language
 postgis                | 2.4.4   | public     | PostGIS geometry, geography, and raster spatial types and functions
 postgis_tiger_geocoder | 2.4.4   | tiger      | PostGIS tiger geocoder and reverse geocoder
 postgis_topology       | 2.4.4   | topology   | PostGIS topology spatial types and functions
(6 rows)

常用的空间运算函数:

https://blog.csdn.net/pzysoft/article/details/76944160

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值