数据管理工具

1、LAS数据集

# Process: LAS 数据集统计数据
arcpy.LasDatasetStatistics_management("", "SKIP_EXISTING_STATS", 输出统计数据报告文本文件, "DATASET", "COMMA", "DECIMAL_POINT") # Process: 从 LAS 数据集中移除文件
arcpy.RemoveFilesFromLasDataset_management("", "", "") # Process: 创建 LAS 数据集
arcpy.CreateLasDataset_management("", 输出_LAS_数据集, "NO_RECURSION", "", "", "NO_COMPUTE_STATS", "ABSOLUTE_PATHS", "NO_FILES") # Process: 将文件添加到 LAS 数据集
arcpy.AddFilesToLasDataset_management("", "", "NO_RECURSION", "") # Process: 用作栅格数据的 LAS 点统计
arcpy.LasPointStatsAsRaster_management("", 输出栅格, "PULSE_COUNT", "CELLSIZE", "10")

2、关系类

# Process: 创建关系类
arcpy.CreateRelationshipClass_management("", "", 输出关系类, "SIMPLE", "", "", "NONE", "ONE_TO_ONE", "NONE", "", "", "", "") # Process: 表转关系类
arcpy.TableToRelationshipClass_management("", "", 输出关系类__2_, "SIMPLE", "", "", "NONE", "ONE_TO_ONE", "", "", "", "", "", "") # Process: 迁移关系类
arcpy.MigrateRelationshipClass_management("")

3、几何网络

# Process: 从几何网络删除空要素类
arcpy.RemoveEmptyFeatureClassFromGeometricNetwork_management("", "") # Process: 从几何网络移除连通性规则
arcpy.RemoveConnectivityRuleFromGeometricNetwork_management("", "") # Process: 创建几何网络
arcpy.CreateGeometricNetwork_management("", "", "", "", "", "", "", "PRESERVE_ENABLED") # Process: 向几何网络添加边-交汇点连通性规则
arcpy.AddEdgeJunctionConnectivityRuleToGeometricNetwork_management("", "", "", "", "", "NO_DEFAULT", "", "", "", "") # Process: 向几何网络添加边-边连通性规则
arcpy.AddEdgeEdgeConnectivityRuleToGeometricNetwork_management("", "", "", "", "", "", "") # Process: 在几何网络中查找断开连接的要素
arcpy.FindDisconnectedFeaturesInGeometricNetwork_management("", 输出图层名称) # Process: 设置流向
arcpy.SetFlowDirection_management("", "") # Process: 追踪几何网络
arcpy.TraceGeometricNetwork_management("", 输出图层组名称, "", "", "", "", "", "", "", "NO_TRACE_ENDS", "NO_TRACE_INDETERMINATE_FLOW", "", "", "AS_IS", "", "", "", "AS_IS") # Process: 重新构建几何网络
arcpy.RebuildGeometricNetwork_management("", 输出日志文件) # Process: 验证和修复几何网络连通性
arcpy.VerifyAndRepairGeometricNetworkConnectivity_management("", 输出日志文件__2_, "VERIFY_ONLY", "NO_EXHAUSTIVE_CHECK", "DEFAULT")

4、分布式地理数据集

# Process: 从服务器创建复本
arcpy.CreateReplicaFromServer_management("", "", "TWO_WAY_REPLICA", "", "", "FULL", "CHILD_DATA_SENDER", "USE_DEFAULTS", "DO_NOT_REUSE", "GET_RELATED", "", "DO_NOT_USE_ARCHIVING") # Process: 创建复本
arcpy.CreateReplica_management("", "TWO_WAY_REPLICA", "", "", "FULL", "CHILD_DATA_SENDER", "USE_DEFAULTS", "DO_NOT_REUSE", "GET_RELATED", "", "DO_NOT_USE_ARCHIVING") # Process: 创建复本轮廓线
arcpy.CreateReplicaFootPrints_management("", "", "") # Process: 同步数据变化
arcpy.SynchronizeChanges_management("", "", "", "BOTH_DIRECTIONS", "IN_FAVOR_OF_GDB1", "BY_OBJECT", "DO_NOT_RECONCILE") # Process: 导入 XML 工作空间文档
arcpy.ImportXMLWorkspaceDocument_management("", "", "DATA", "") # Process: 导入复本方案
arcpy.ImportReplicaSchema_management("", "") # Process: 导入消息
arcpy.ImportMessage_management("", "", 输出确认文件, "MANUAL", "BY_OBJECT", "DO_NOT_RECONCILE") # Process: 导出 XML 工作空间文档
arcpy.ExportXMLWorkspaceDocument_management("", 输出文件, "DATA", "BINARY", "METADATA") # Process: 导出复本方案
arcpy.ExportReplicaSchema_management("", 输出复本方案文件, "") # Process: 导出数据变更消息
arcpy.ExportDataChangeMessage_management("", 输出数据变更文件, "", "DO_NOT_SWITCH", "UNACKNOWLEDGED", "NEW_CHANGES") # Process: 导出确认消息
arcpy.ExportAcknowledgementMessage_management("", 输出确认文件__2_, "") # Process: 比较复本方案
arcpy.CompareReplicaSchema_management("", "", 输出复本方案变更文件) # Process: 添加全局 ID
arcpy.AddGlobalIDs_management("") # Process: 重新导出未确认的消息
arcpy.ReExportUnacknowledgedMessages_management("", 输出增量文件, "", "ALL_UNACKNOWLEDGED")

5、切片缓存

# Process: 导入切片缓存
arcpy.ImportTileCache_management("", "", "", 感兴趣区, "MERGE") # Process: 导出切片缓存
arcpy.ExportTileCache_management("", "", "", "TILE_CACHE", "COMPACT", "", 感兴趣区__2_) # Process: 生成切片缓存切片方案
arcpy.GenerateTileCacheTilingScheme_management("", 输出切片方案, "NEW", "", "", "", "SCALE", "0 0", "96", "256 x 256", "MIXED", "75", "COMPACT", "") # Process: 管理切片缓存
arcpy.ManageTileCache_management("", "RECREATE_ALL_TILES", "", "", "ARCGISONLINE_SCHEME", "", "", 感兴趣区__3_, "", "", "")

6、制图综合

# Process: 消除
arcpy.Eliminate_management("", 输出要素类, "LENGTH", "", "") # Process: 消除面部件
arcpy.EliminatePolygonPart_management("", 输出要素类__2_, "AREA", "0 Unknown", "0", "CONTAINED_ONLY") # Process: 融合
arcpy.Dissolve_management("", 输出要素类__3_, "", "", "MULTI_PART", "DISSOLVE_LINES")

7、图层和表示图

# Process: 保存至图层文件
arcpy.SaveToLayerFile_management("", 输出图层, "", "CURRENT") # Process: 创建 LAS 数据集图层
arcpy.MakeLasDatasetLayer_management("", 输出图层__2_, "", "", "INCLUDE_UNFLAGGED", "INCLUDE_SYNTHETIC", "INCLUDE_KEYPOINT", "EXCLUDE_WITHHELD", "") # Process: 创建 WCS 图层
arcpy.MakeWCSLayer_management("", 输出_WCS_图层, "DEFAULT", "") # Process: 创建 XY 事件图层
arcpy.MakeXYEventLayer_management("", "", "", 图层名称或表视图, "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision", "") # Process: 创建影像服务器图层
arcpy.MakeImageServerLayer_management("", 输出影像服务器图层, "DEFAULT", "", "", "", "", "", "", "", "None") # Process: 创建查询图层
arcpy.MakeQueryLayer_management("", "", "", "", "", "", "") # Process: 创建查询表
arcpy.MakeQueryTable_management("", 表名, "USE_KEY_FIELDS", "", "", "") # Process: 创建栅格图层
arcpy.MakeRasterLayer_management("", 输出栅格图层名称, "", "DEFAULT", "") # Process: 创建栅格目录图层
arcpy.MakeRasterCatalogLayer_management("", 图层名称或表视图__2_, "", "", "") # Process: 创建表视图
arcpy.MakeTableView_management("", 表名__2_, "", "", "") # Process: 创建要素图层
arcpy.MakeFeatureLayer_management("", 输出图层__3_, "", "", "") # Process: 创建镶嵌图层
arcpy.MakeMosaicLayer_management("", 输出镶嵌图层, "", "DEFAULT", "", "", "", "", "", "ASCENDING", "FIRST", "", "None") # Process: 应用图层的符号设置
arcpy.ApplySymbologyFromLayer_management("", "") # Process: 按位置选择图层
arcpy.SelectLayerByLocation_management("", "INTERSECT", "", "", "NEW_SELECTION", "NOT_INVERT") # Process: 按属性选择图层
arcpy.SelectLayerByAttribute_management("", "NEW_SELECTION", "")

8、图表

# Process: 保存图表
arcpy.SaveGraph_management("", 输出图表文件, "MAINTAIN_ASPECT_RATIO", "300", "200") # Process: 生成图表
arcpy.MakeGraph_management("", "", 输出图表名称)

9、地理数据库管理

# Process: 修复版本元数据
arcpy.RepairVersionMetadata_management("", 修复版本元数据日志文件输出) # Process: 修复版本表
arcpy.RepairVersionTables_management("", 修复版本表日志, "", "") # Process: 分析数据集
arcpy.AnalyzeDatasets_management("", "NO_SYSTEM", "", "ANALYZE_BASE", "ANALYZE_DELTA", "ANALYZE_ARCHIVE") # Process: 创建企业级地理数据库
arcpy.CreateEnterpriseGeodatabase_management("SQL_Server", "", "", "DATABASE_AUTH", "sa", "*****", "SDE_SCHEMA", "sde", "*****", "", "") # Process: 创建数据库用户
arcpy.CreateDatabaseUser_management("", "DATABASE_USER", "", "*****", "", "") # Process: 创建角色
arcpy.CreateRole_management("", "", "GRANT", "") # Process: 删除方案地理数据库
arcpy.DeleteSchemaGeodatabase_management("") # Process: 升级地理数据库
arcpy.UpgradeGDB_management("", "PREREQUISITE_CHECK", "UPGRADE") # Process: 升级数据集
arcpy.UpgradeDataset_management("") # Process: 升级空间参考
arcpy.UpgradeSpatialReference_management("", "", "", "") # Process: 启用企业级地理数据库
arcpy.EnableEnterpriseGeodatabase_management("", "") # Process: 导入地理数据库配置关键字
arcpy.ImportGeodatabaseConfigurationKeywords_management("", "") # Process: 导出地理数据库配置关键字
arcpy.ExportGeodatabaseConfigurationKeywords_management("", 输出文件) # Process: 更改权限
arcpy.ChangePrivileges_management("", "", "", "") # Process: 更新企业级地理数据库许可
arcpy.UpdateEnterpriseGeodatabaseLicense_management("", "") # Process: 注册到地理数据库
arcpy.RegisterWithGeodatabase_management("", "", "", "", "", "") # Process: 版本压缩
arcpy.Compress_management("") # Process: 诊断版本元数据
arcpy.DiagnoseVersionMetadata_management("", 诊断版本元数据日志文件输出) # Process: 诊断版本表
arcpy.DiagnoseVersionTables_management("", 诊断版本表日志, "", "") # Process: 迁移存储
arcpy.MigrateStorage_management("", "") # Process: 配置地理数据库日志文件表
arcpy.ConfigureGeodatabaseLogFileTables_management("", "SESSION_LOG_FILE", "", "NOT_USE_TEMBDB") # Process: 重建索引
arcpy.RebuildIndexes_management("", "NO_SYSTEM", "", "ONLY_DELTAS")

10、子类型

# Process: 添加子类型
arcpy.AddSubtype_management("", "", "") # Process: 移除子类型
arcpy.RemoveSubtype_management("", "") # Process: 设置子类型字段
arcpy.SetSubtypeField_management("", "", "false") # Process: 设置默认子类型
arcpy.SetDefaultSubtype_management("", "")

11、字段

# Process: 为字段分配默认值
arcpy.AssignDefaultToField_management("", "", "", "", "false") # Process: 删除字段
arcpy.DeleteField_management("", "") # Process: 启用编辑者跟踪
arcpy.EnableEditorTracking_management("", "", "", "", "", "", "UTC") # Process: 更改字段
arcpy.AlterField_management("", "", "", "", "", "", "NON_NULLABLE", "false") # Process: 添加字段
arcpy.AddField_management("", "", "LONG", "", "", "", "", "NULLABLE", "NON_REQUIRED", "") # Process: 添加递增 ID 字段
arcpy.AddIncrementingIDField_management("", "") # Process: 禁用编辑者追踪
arcpy.DisableEditorTracking_management("", "DISABLE_CREATOR", "DISABLE_CREATION_DATE", "DISABLE_LAST_EDITOR", "DISABLE_LAST_EDIT_DATE") # Process: 计算字段
arcpy.CalculateField_management("", "", "", "VB", "") # Process: 计算结束时间
arcpy.CalculateEndTime_management("", "", "", "") # Process: 转换时区
arcpy.ConvertTimeZone_management("", "", "China_Standard_Time", "", "UTC", "INPUT_ADJUSTED_FOR_DST", "OUTPUT_ADJUSTED_FOR_DST") # Process: 转换时间字段
arcpy.ConvertTimeField_management("", "", "", "", "DATE", "'Not Used'") # Process: 转置字段
arcpy.TransposeFields_management("", "", 输出表__7_, "", "", "")

12、属性域

# Process: 从属性域中删除编码值
arcpy.DeleteCodedValueFromDomain_management("", "", "") # Process: 创建属性域
arcpy.CreateDomain_management("", "", "", "SHORT", "CODED", "DEFAULT", "DEFAULT") # Process: 删除属性域
arcpy.DeleteDomain_management("", "") # Process: 向属性域添加编码值
arcpy.AddCodedValueToDomain_management("", "", "", "") # Process: 属性域转表
arcpy.DomainToTable_management("", "", 输出表, "", "", "") # Process: 指定字段的属性域
arcpy.AssignDomainToField_management("", "", "", "") # Process: 排序编码值属性域
arcpy.SortCodedValueDomain_management("", "", "CODE", "ASCENDING") # Process: 移除字段的属性域
arcpy.RemoveDomainFromField_management("", "", "") # Process: 表转属性域
arcpy.TableToDomain_management("", "", "", "", "", "", "APPEND") # Process: 设置值域范围
arcpy.SetValueForRangeDomain_management("", "", "", "")

13、工作空间

# Process: 创建 ArcInfo 工作空间
arcpy.CreateArcInfoWorkspace_management("", "") # Process: 创建 SQLite 数据库
arcpy.CreateSQLiteDatabase_management(输出数据库名称, "ST_GEOMETRY") # Process: 创建个人地理数据库
arcpy.CreatePersonalGDB_management("", "", "CURRENT") # Process: 创建云存储连接文件
arcpy.CreateCloudStorageConnectionFile_management("", "", "", "", "", "*****", "", "", "", "") # Process: 创建数据库连接
arcpy.CreateDatabaseConnection_management("", "", "", "", "DATABASE_AUTH", "", "*****", "SAVE_USERNAME", "", "", "TRANSACTIONAL", "", "") # Process: 创建文件地理数据库
arcpy.CreateFileGDB_management("", "", "CURRENT") # Process: 创建文件夹
arcpy.CreateFolder_management("", "") # Process: 创建空间类型
arcpy.CreateSpatialType_management("", "*****", "", "") # Process: 创建要素数据集
arcpy.CreateFeatureDataset_management("", "", "") # Process: 清除工作空间缓存
arcpy.ClearWorkspaceCache_management("")

14、常规

# Process: 创建数据库视图
arcpy.CreateDatabaseView_management("", "", "") # Process: 删除
arcpy.Delete_management("", "") # Process: 删除相同项
arcpy.DeleteIdentical_management("", "", "", "0") # Process: 合并
arcpy.Merge_management("", 输出数据集__2_, "") # Process: 复制
arcpy.Copy_management("", 输出数据元素, "") # Process: 排序
arcpy.Sort_management("", 输出数据集__3_, "", "UR") # Process: 查找相同项
arcpy.FindIdentical_management("", 输出数据集__4_, "", "", "0", "ALL") # Process: 用于 Pro 的分析工具
arcpy.AnalyzeToolsForPro_management("", 输出文件) # Process: 追加
arcpy.Append_management("", "", "TEST", "", "") # Process: 重命名
arcpy.Rename_management("", 输出数据元素__2_, "")

15、归档

# Process: 启用归档
arcpy.EnableArchiving_management("") # Process: 禁用归档
arcpy.DisableArchiving_management("", "PRESERVE")

点击此处跳转(数据管理工具)《二》

Data Management Tools(数据管理工具)《一》的更多相关文章

  1. Data Management and Data Management Tools

    Data Management ObjectivesBy the end o this module, you should understand the fundamentals of data m ...

  2. Building Applications with Force.com and VisualForce(Dev401)(十七):Data Management: Data management Tools

    ev401-018:Data Management: Data management ToolsModule Objectives1.List objects exposed in the impor ...

  3. Data Management Tools(数据管理工具)《二》

    (数据管理工具)<二> 点击跳转(数据管理工具)<一> 16.打包 # Process: 共享包 arcpy.SharePackage_management("&qu ...

  4. 一款功能强悍的web磁盘管理工具 (A powerful web disk management tools)

    https://github.com/kingAnyWHere/web-ftp web-ftp 一款功能强悍的web磁盘管理工具 (A powerful web disk management too ...

  5. 场景3 Data Management

    场景3 Data Management 数据管理 性能优化 OLTP OLAP 物化视图 :表的快照 传输表空间 :异构平台的数据迁移 星型转换 :事实表 OLTP : 在线事务处理 1. trans ...

  6. Open source and free log analysis and log management tools.

    Open source and free log analysis and log management tools. Maintained by Dr. Anton Chuvakin Version ...

  7. Database SQL script automation management tools investigation

    Recently researched about database SQL scripts auto management tools, recorded the results here. Res ...

  8. [Windows Azure] Data Management and Business Analytics

    http://www.windowsazure.com/en-us/develop/net/fundamentals/cloud-storage/ Managing and analyzing dat ...

  9. iOS 设备数据管理工具 iMazing v2.10.3 绿色便携版

    iMazing 是一款可以帮助用户管理 iOS 设备的软件,功能远远超出 iTunes.iMazing 连接你的 iOS 设备(iPhone. iPad 或 iPod)相连,使用起来也非常的方便.你可 ...

随机推荐

  1. Jmeter的初体验--安装

    准备工作 安装JMeter前需要安装配置好Java 一.安装 1.直接在官网下载安装即可,下载地址:http://jmeter.apache.org/download_jmeter.cgi,(Wind ...

  2. 前后端数据交互(四)——fetch 请求详解

    fetch 是 XMLHttpRequest 的升级版,使用js脚本发出网络请求,但是与 XMLHttpRequest 不同的是,fetch 方式使用 Promise,相比 XMLHttpReques ...

  3. RTSP H264/HEVC 流 Wasm 播放

    本文将介绍 RTSP H264/HEVC 裸流如何于网页前端播放.涉及 WebSocket 代理发送流数据, Wasm 前端解码等. 代码: https://github.com/ikuokuo/rt ...

  4. RabbitMQ之消息模式1

    消息100%的投递 消息如何保障100%的投递成功? 什么是生产端的可靠性投递? 保障消息的成功发出 保障MQ节点的成功接收 发送端收到MQ节点(Broker)确认应答 完善的消息进行补偿机制 BAT ...

  5. Linux下chkconfig

    1.chkconfig命令用于检查,设置系统的各种服务! 2.chkconfig语法 chkconfig [--add] [--del] [--list] [系统服务] 或 chkconfig [-- ...

  6. Git 系列教程(10)- 仓库别名

    Git 别名 前言 Git 并不会在你输入部分命令时自动推断出你想要的命令 如果不想每次都输入完整的 Git 命令,可以通过 git config 文件来轻松地为每一个命令设置一个别名 $ git c ...

  7. Junit5快速入门指南-3

    Fixtures 是测试中非常重要的一部分.他们的主要目的是建立一个固定/已知的环境状态以确保 测试可重复并且按照预期的方式运行.比如在app测试中 基类@BeforeClass 配置初始化,初始化d ...

  8. 转:C#根据条件设置datagridview行的颜色

    1 private void LoadData() 2 { 3 DataTable tblDatas = new DataTable(); 4 tblDatas.Columns.Add("I ...

  9. XML基础——extensible markup language

    一.xml概念 1.xml和html区别 其中,xml是纯文本文件,跨语言:浏览器有html解析器也有xml解析器: 2.和properties配置文件区别 二.xml语法 1.基本语法 三.xml组 ...

  10. 使用私有gitlab发布自动生成版本号和标签(version和tag)(骚)

    设置 semantic ,自动生成版本号和标签 FROM node:14-buster-slim LABEL maintainer="wangyunpeng" COPY sourc ...