CentOS7上為PostgreSQL11安裝PostGIS
安裝環境:Cenots 7.5 + PostgreSQL11.9
GIS (Geographic Information Systems) 支援基於R-tree的GiST索引。分析和處理GIS物件。
1.增加EPEL資料庫
yum -y install epel-release
2.安裝PostGIS
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install postgis30_11
3.安裝後檢查
# rpm -qi postgis30_11
Name : postgis30_11
Version : 3.0.2
Release : 2.rhel7
Architecture: x86_64
Install Date: Thu 15 Oct 2020 09:09:30 AM CST
Group : Unspecified
Size : 34467716
License : GPLv2+
Signature : DSA/SHA1, Tue 29 Sep 2020 08:15:51 PM CST, Key ID 1f16d2e1442df0f8
Source RPM : postgis30_11-3.0.2-2.rhel7.src.rpm
Build Date : Tue 29 Sep 2020 08:15:47 PM CST
Build Host : koji-centos7-x86-64-pgbuild
Relocations : (not relocatable)
Vendor : PostgreSQL Global Development Group
URL : http://www.postgis.net/
Summary : Geographic Information Systems Extensions to PostgreSQL
Description :
PostGIS adds support for geographic objects to the PostgreSQL object-relational
database. In effect, PostGIS "spatially enables" the PostgreSQL server,
allowing it to be used as a backend spatial database for geographic information
systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
follows the OpenGIS "Simple Features Specification for SQL" and has been
certified as compliant with the "Types and Functions" profile.
4.登入資料庫,建立postgis擴充套件
create extension postgis;
「其他文章」
- html總結(二)
- html入門學習(一)
- Go語言學習心路
- FRP輕鬆實現內網穿透
- bzoj5301: [Cqoi2018]異或序列(莫隊)
- 馭勢科技引入國家隊戰略注資,完成超10億元人民幣融資
- 商務部CECBC區塊鏈專委會副主任、數字經濟商學院院長吳桐:建立完善穩健的基礎設施 加速區塊鏈與產業深度融合
- 掃雷的部分實現
- No.6 關於變數名前加$以及不加$的區別
- python線段插值
- 硬核二進位制安全學習:Buffer Overflow(棧的緩衝區溢位&&Pwn技巧Return to Text)
- 騰訊首位17級傑出科學家誕生:騰訊AI Lab負責人張正友
- 【MySQL】資料庫複製:組複製(MGR)要求與限制
- 統一軟體開發框架對企業資訊化的影響
- 「GoTeam 招聘時間」聊聊網路科技 Golang研發工程師(上海)
- Unity 3D Event System事件系統
- DVWA Xampp靶機搭建
- LVS負載均衡之DR模式
- 由淺入深逐步講解Java併發的半壁江山AQS
- 阿里P82個月整合最全PDF:Tomcat 虛擬機器 Spring全家桶 MyBatis原始碼等