惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - 卢伟亮

ArcGIS Server如何使用查询图层(QueryLayer)发布自定义坐标系数据(支持查询和编辑) ArcGIS Pro如何引用自定义Python模块 ArcGIS Pro 3创建Python环境失败的解决方法 ArcGIS Pro 补丁 如何使用阿里云OSS存储发布ArcGIS缓存地图服务 反注册PostgreSQL企业级地理数据库中的要素类 ERROR: Unable to start the RMI connector for NodeAgent的ArcGIS Server启动错误 检查SDE版本健康情况的常用SQL语句 免重启下刷新新添加的磁盘信息 ArcSDE 版本差异提取 ArcSDE归档记录迁移 大体量点位置数据动态聚合Binning可视化效果 如何解决Portal无法设置托管GIS服务器的问题 Schema is out of date,Retry as owner or sdeadmin 问题解决方法 ArcGIS Server前端Varnish缓存解决方案 如何使用ArcGIS Pro发布自定义打印服务 ArcGIS Enterprise 10.7.1新特性:批量发布服务 影像优化 OptimizeRaster工具包介绍 Pro自定义数据源原理
启用只使用PostGIS的ArcSDE Geodatabase
卢伟亮 · 2021-08-31 · via 博客园 - 卢伟亮

PostGIS在开源GIS界十分受欢迎。ArcGIS的软件对其支持,除了支持读写PostGIS空间数据库之外,同时也支持在PostGIS的基础上应用ArcSDE Geodatabase数据模型。

在使用ArcMap或者ArcGIS Pro创建Postgres 数据库 SDE Geodatabase的时候,正常的步骤是要求新把st_geometry类库拷贝到Postgres数据库的lib目录下的,因为ArcGIS默认是采用ESRI 的st_geometry 存储类型,而非postgis存储类型。假如我们需要在只使用postgis的Postgres数据库中使用SDE Geodatabase数据模型,则不能使用原来的CreateEnterpriseGeodatabase工具来创建空间数据库。正确的步骤如下:

1、需要在Postgres中新建一个名字叫 rds_superuser 的角色,该角色不需要设置特别的权限。

CREATE ROLE rds_superuser;

2、创建名字为sde的登录账户,并赋予为superuser权限。

CREATE ROLE sde WITH
LOGIN
SUPERUSER;

3、把sde账户添加到 rds_superuser 角色。

GRANT sde TO  rds_superuser;

4、在需要启用SDE功能的数据库上创建名字为sde的方案。

5、在需要启用SDE功能的数据库上创建Postgis扩展。

CREATE EXTENSION postgis;

6、使用ArcMap或者ArcGIS Pro的Enable Enterprise Geodatabase工具启用SDE地理数据模型。