菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
37
0

Arcgis直连SQLServer数据库,通过REST修改数据ArcMap中更新数据库数据不更新,数据不统一

原创
05/13 14:22
阅读数 89371

可能的原因:

1.版本问题。多人在线编辑。

2.表找错了。

>>类似问题:https://zhidao.baidu.com/question/373479109817207124.html

缓存 数据不一致:https://blog.csdn.net/u012129558/article/details/52278091

 [已解决]

在视图表里,是实时更新的。

>>创建视图:Create View [state_id]

 

 >>arcgis视图表与普通表的区别:表属性多了一个state_id

You should check the VIEW table, rather than the basic table. gis.stackexchange.com/questions/129983/… – Forwithy New just now
the difference between VIEW table and basic table is VIEW table is a virtual table based on basic table.the VIEW table is virtual table, but related data is physical existing. When you edit VIEW table, it will not do effects to related basic table.When you want to edit basic table through VIEW table, you should connect the two tables with key id.When you query VIEW table, will it be faster than basic table?

>>如果视图表是更新的,那么如何把视图表的更新更新到基本表上呢?

>>版本管理:https://www.cnblogs.com/2008nmj/p/14251977.html

视图表能不能跟基本表保持一致,使用视图更新基本表数据.https://wenku.baidu.com/view/c914646030126edb6f1aff00bed5b9f3f90f723f.html

>>使用python获取sql server视图表,并对视图表进行查询:

>>对视图表查询比基本表查询速度更快吗?为什么?:https://zhidao.baidu.com/question/1608403857364206147.html

https://www.imooc.com/wenda/detail/580878

因为视图经常重用,所以更有可能放在缓存里。从而提高查询效率。缓存比一般的数据查询速率更高,类似于数据库索引?

 

>>更改了基本表,视图表一定会改变,反之却不成立。因为视图表里的数据并不一定来自同一张表。

 

ArcMap与sql server数据不同步

通过前端修改了数据。。后端使用ArcMap连接SQL Server打开是有数据的,但是打开SQL Server主表数据未更新

arcgis10.1连接sqlserver数据库常见问题(转载):https://www.cnblogs.com/Joetao/articles/6704130.html

通过arcgis rest接口修改数据,与sqlServer表不一致问题:http://zhihu.geoscene.cn/question/38591

Sync Data from a Geodatabase:https://community.esri.com/t5/geodatabase-questions/sync-data-from-a-geodatabase/td-p/784054

arcgis server rest sql server data update sync:

using sync:https://developers.arcgis.com/rest/services-reference/using-sync.htm

Why SQL Server arcgis table data is not update when arcgis rest update data?:https://stackoverflow.com/questions/65435759/why-sql-server-arcgis-table-data-is-not-update-when-arcgis-rest-update-data

SQL Server table not updating in ArcGIS Online map:https://gis.stackexchange.com/questions/154422/sql-server-table-not-updating-in-arcgis-online-map

How can we use SQL to update feature class attributes in a versioned geodatabase in ArcGIS Workgroup:https://gis.stackexchange.com/questions/8626/how-can-we-use-sql-to-update-feature-class-attributes-in-a-versioned-geodatabase

Auto-updating map service via REST in ArcGIS for Server?:https://gis.stackexchange.com/questions/41849/auto-updating-map-service-via-rest-in-arcgis-for-server

ArcGIS Server REST Cache:https://gis.stackexchange.com/questions/31547/arcgis-server-rest-cache?rq=1

Edit default version table view using SQL Server:https://gis.stackexchange.com/questions/129983/edit-default-version-table-view-using-sql-server

 

发表评论

0/200
37 点赞
0 评论
收藏
为你推荐 换一批