当前位置:网站首页>arcgis创建postgre企业级数据库
arcgis创建postgre企业级数据库
2022-07-03 06:03:00 【xuhss_com】
优质资源分享
| 学习路线指引(点击解锁) | 知识定位 | 人群定位 |
|---|---|---|
| 🧡 Python实战微信订餐小程序 🧡 | 进阶级 | 本课程是python flask+微信小程序的完美结合,从项目搭建到腾讯云部署上线,打造一个全栈订餐系统。 |
| Python量化交易实战 | 入门级 | 手把手带你打造一个易扩展、更安全、效率更高的量化交易系统 |
什么是企业级地理数据库?
企业级地理数据库(ArcSD Enterprise,sde)是和 arcGIS 套件集成程度最高的地理数据库;创建时需要用到安装 arcGIS Server 时的 【ecp 证书】。他是 arcGIS 在第三方数据库的基础上采用了自定义的存储结构而搭建起来的数据库,所以,你虽然可以在 postgreSQL 的 pgAdmin III 中看到 sde 的存储信息,但是无法通过 arcGIS Desktop 之外的软件解析这些数据。
由于侧重点不同,企业级数据库(sde) 的稳定性虽然得到了增强,但是其分析和处理地理数据的能力反而不如默认的 postGIS。
使用企业级数据库(sde) 存储空间数据,是因为它被arcGIS 高度支持,所以,它拥有更快速更稳定的访问(这个快速稳定不仅仅是针对 arcMap 处理地图数据而言,对于 arcGIS Server 发布地图服务的效率也有提升)。
企业级数据库与PostgreSql版本关系
| | 10 版本的地理数据库 | 10.1 版本的地理数据库 | 10.2.x 版本的地理数据库 | 10.3.x 版本的地理数据库 |
| 10 版本的客户端 | 支持 | 支持
DBMS 必须是 PostgreSQL 9.0.5。 | 支持
DBMS 必须是 PostgreSQL 9.0.5。 | |
| 10.1 版本的客户端 | 支持 | 支持 | 支持
DBMS 必须是 PostgreSQL 9.0.5 或 9.1.3。 | 支持
DBMS 必须是 PostgreSQL 9.1.3。 |
| 10.2.x 版本的客户端 | 支持 | 支持 | 支持 | 支持 |
| 10.3.x 版本的客户端 | 支持 | 支持 | 支持 | 支持 |
参考网站:ArcGIS 客户端与 PostgreSQL 中地理数据库之间的兼容性
参考网站:适用于 ArcGIS 10.8.x 以及 ArcGIS Pro 2.5、2.6 和 2.7 的 PostgreSQL 数据库要求
如何创建企业级地理数据库?
想要创建 sde,我们首先需要对 postgreSQL 进行一些额外“拓展”。
先从arcmap的安装目录里找到这个拓展文件,路径如下:
C:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\PostgreSQL\Windows64

接下来将其复制到 postgreSQL 根目录的 lib 文件夹下。

ArcMap连接PostgreSql数据库
在AecMap中连接数据库需要文件:libeay32.dll、libiconv-2.dll、libintl-8.dll、libpq.dll 和 ssleay32.dll。
有一种说法是,这些文件需要找到所安装版本数据库的这些库⽂件,然后拷贝到Desktop的bin⽬录下——C:\Program Files (x86)\ArcGIS\Desktop10.1\bin。 
亲测,这种方法不好用。
下载可用dll,然后替换到Desktop的bin⽬录下——C:\Program Files (x86)\ArcGIS\Desktop10.1\bin。
创建ArcGis企业级数据库——PostgreSql
创建企业级数据库如下图所示:

配置PostgreSql远程访问
进入postgreSQL的data目录(C:\Program Files\PostgreSQL\12\data)找到pg_hba.conf,然后打开pg_hba.conf,然后搜索IPv4 local connections,修改内容如下图:

到此,arcgis创建postgre企业级数据库,我们就学会了。
注:此文章为原创,任何形式的转载都请联系作者获得授权并注明出处!若您觉得这篇文章还不错,请点击下方的【推荐】,非常感谢!
https://blog.csdn.net/kiba/p/16415251.html

边栏推荐
- Pytorch builds the simplest version of neural network
- 理解 YOLOV1 第一篇 预测阶段
- C 语言文件操作函数大全 (超详细)
- pytorch DataLoader实现miniBatch(未完成)
- Bio, NiO, AIO details
- Kubernetes notes (10) kubernetes Monitoring & debugging
- Virtual memory technology sharing
- Convolution operation in convolution neural network CNN
- Why is the website slow to open?
- MySQL带二进制的库表导出导入
猜你喜欢

项目总结--01(接口的增删改查;多线程的使用)

Skywalking8.7 source code analysis (II): Custom agent, service loading, witness component version identification, transform workflow

Understand expectations (mean / estimate) and variances
![[video of Teacher Zhao Yuqiang's speech on wot] redis high performance cache and persistence](/img/a7/2140744ebad9f1dc0a609254cc618e.jpg)
[video of Teacher Zhao Yuqiang's speech on wot] redis high performance cache and persistence

Today, many CTOs were killed because they didn't achieve business

Understand one-way hash function

Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation

Alibaba cloud OOS file upload
![[minesweeping of two-dimensional array application] | [simple version] [detailed steps + code]](/img/b0/aa5dce0bb60c50eea907de9e127d6c.jpg)
[minesweeping of two-dimensional array application] | [simple version] [detailed steps + code]

Apt update and apt upgrade commands - what is the difference?
随机推荐
Redhat7 system root user password cracking
[teacher Zhao Yuqiang] MySQL high availability architecture: MHA
Kubernetes notes (V) configuration management
[advanced pointer (1)] | detailed explanation of character pointer, pointer array, array pointer
从 Amazon Aurora 迁移数据到 TiDB
Intel's new GPU patent shows that its graphics card products will use MCM Packaging Technology
Use telnet to check whether the port corresponding to the IP is open
[teacher Zhao Yuqiang] index in mongodb (Part 2)
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
Solve the problem that Anaconda environment cannot be accessed in PowerShell
[teacher Zhao Yuqiang] RDB persistence of redis
Kubernetes cluster environment construction & Deployment dashboard
[set theory] relational closure (reflexive closure | symmetric closure | transitive closure)
Strategy pattern: encapsulate changes and respond flexibly to changes in requirements
Es remote cluster configuration and cross cluster search
JS implements the problem of closing the current child window and refreshing the parent window
[teacher Zhao Yuqiang] MySQL flashback
Oauth2.0 - explanation of simplified mode, password mode and client mode
Txt document download save as solution
CAD插件的安裝和自動加載dll、arx