(数据管理工具)《二》

点击跳转(数据管理工具)《一》

16、打包

# Process: 共享包
arcpy.SharePackage_management("", "<未登录 ArcGIS.com。>", "*****", "", "", "", "MYGROUPS", "") # Process: 创建地图切片包
arcpy.CreateMapTilePackage_management("", "ONLINE", 输出文件, "PNG8", "1", "", "", "", "DEFAULT", "75", "tpkx", "0") # Process: 创建运行时内容
arcpy.CreateRuntimeContent_management("", 输出文件夹, "", "", "DEFAULT", "NETWORK_DATA;FEATURE_AND_TABULAR_DATA", "NON_OPTIMIZE_SIZE", "ONLINE", "PNG", "1", "") # Process: 合并图层
arcpy.ConsolidateLayer_management("", 输出文件夹__2_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "ALL") # Process: 合并地图
arcpy.ConsolidateMap_management("", 输出文件夹__3_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "CONVERT_SQLITE") # Process: 合并定位器
arcpy.ConsolidateLocator_management("", 输出文件夹__4_, "COPY_ARCSDE") # Process: 合并结果
arcpy.ConsolidateResult_management("", 输出文件夹__5_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "ALL") # Process: 打包图层
arcpy.PackageLayer_management("", 输出文件__2_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "ALL", "ALL", "", "", "") # Process: 打包地图
arcpy.PackageMap_management("", 输出文件__3_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "DESKTOP", "NOT_REFERENCED", "ALL", "", "", "") # Process: 打包定位器
arcpy.PackageLocator_management("", 输出文件__4_, "COPY_ARCSDE", "", "", "") # Process: 打包结果
arcpy.PackageResult_management("", 输出文件__5_, "PRESERVE", "CONVERT_ARCSDE", "DEFAULT", "ALL", "ALL", "DESKTOP", "", "", "", "CURRENT") # Process: 提取包
arcpy.ExtractPackage_management("", 输出文件夹__6_)

17、投影和变换

# Process: 创建空间参考
arcpy.CreateSpatialReference_management("", "", "", "", "", "", "0") # Process: 创建自定义地理(坐标)变换
arcpy.CreateCustomGeoTransformation_management("", "", 输出地理坐标系, "") # Process: 定义投影
arcpy.DefineProjection_management("", "") # Process: 批量投影
arcpy.BatchProject_management("", "", "", "", "") # Process: 投影
arcpy.Project_management("", 输出数据集或要素类__2_, "", "", "", "NO_PRESERVE_SHAPE", "", "NO_VERTICAL") # Process: 转换坐标记法
arcpy.ConvertCoordinateNotation_management("", 输出要素类, "", "", "DD_2", "DD_2", "", "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", "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]", "INCLUDE_INVALID")

栅格

# Process: 从文件变换
arcpy.WarpFromFile_management("", 输出栅格数据集, "", "POLYORDER1", "NEAREST") # Process: 平移
arcpy.Shift_management("", 输出栅格数据集__2_, "", "", "") # Process: 扭曲
arcpy.Warp_management("", "", "", 输出栅格数据集__3_, "POLYORDER1", "NEAREST") # Process: 投影栅格
arcpy.ProjectRaster_management("", 输出栅格数据集__4_, "", "NEAREST", "", "", "", "", "NO_VERTICAL") # Process: 旋转
arcpy.Rotate_management("", 输出栅格数据集__5_, "", "", "NEAREST", "DEFAULT") # Process: 注册栅格
arcpy.RegisterRaster_management("", "REGISTER", "", "", "POLYORDER1", 输出链接文件, "") # Process: 翻转
arcpy.Flip_management("", 输出栅格数据集__6_) # Process: 重设比例
arcpy.Rescale_management("", 输出栅格数据集__7_, "", "") # Process: 镜像
arcpy.Mirror_management("", 输出栅格数据集__8_)

18、拓扑

# Process: 从拓扑中移除要素类
arcpy.RemoveFeatureClassFromTopology_management("", "") # Process: 创建拓扑
arcpy.CreateTopology_management("", "", "") # Process: 向拓扑中添加要素类
arcpy.AddFeatureClassToTopology_management("", "", "1", "1") # Process: 导出拓扑错误
arcpy.ExportTopologyErrors_management("", Default_gdb, "") # Process: 拓扑验证
arcpy.ValidateTopology_management("", "Full_Extent") # Process: 添加拓扑规则
arcpy.AddRuleToTopology_management("", "Must Not Have Gaps (Area)", "", "", "", "") # Process: 移除拓扑规则
arcpy.RemoveRuleFromTopology_management("", "") # Process: 设置拓扑容差
arcpy.SetClusterTolerance_management("", "")

19、数据比较

# Process: TIN 比较
arcpy.TINCompare_management("", "", "ALL", "NO_CONTINUE_COMPARE", 输出比较文件) # Process: 文件比较
arcpy.FileCompare_management("", "", "ASCII", "NO_CONTINUE_COMPARE", 输出比较文件__2_) # Process: 栅格比较
arcpy.RasterCompare_management("", "", "RASTER_DATASET", "", "NO_CONTINUE_COMPARE", 输出比较文件__3_, "", "", "") # Process: 检测要素更改
arcpy.DetectFeatureChanges_management("", "", 输出要素类, "", "", 输出匹配表, "0 Unknown", "", "NO_COMPARE_DIRECTION") # Process: 表比较
arcpy.TableCompare_management("", "", "", "ALL", "", "", "", "NO_CONTINUE_COMPARE", 输出比较文件__4_) # Process: 要素比较
arcpy.FeatureCompare_management("", "", "", "ALL", "", "", "0", "0", "", "", "NO_CONTINUE_COMPARE", 输出比较文件__5_)

20、文件地理数据库

# Process: 压缩文件地理数据库数据
arcpy.CompressFileGeodatabaseData_management("", "false") # Process: 恢复文件地理数据库
arcpy.RecoverFileGDB_management("", "", "") # Process: 数据库碎片整理
arcpy.Compact_management("") # Process: 生成文件地理数据库许可
arcpy.GenerateFgdbLicense_management("", 输出数据许可文件, "DENY_EXPORT", "") # Process: 生成许可的文件地理数据库
arcpy.GenerateLicensedFgdb_management("", 输出许可的文件地理数据库, 输出许可定义文件) # Process: 解压文件地理数据库数据
arcpy.UncompressFileGeodatabaseData_management("", "")

21、栅格



点击此处跳转

22、照片

# Process: 地理标记照片转点
arcpy.GeoTaggedPhotosToPoints_management("", 输出要素类, 无效的照片表, "ALL_PHOTOS", "NO_ATTACHMENTS") # Process: 按时间将照片与行匹配
arcpy.MatchPhotosToRowsByTime_management("", "", "", 输出表, 未匹配的照片表, "NO_ATTACHMENTS", "0", "0")

23、版本

# Process: 切换版本
arcpy.ChangeVersion_management("", "TRANSACTIONAL", "", "") # Process: 创建版本
arcpy.CreateVersion_management("", "", "", "PRIVATE") # Process: 删除版本
arcpy.DeleteVersion_management("", "") # Process: 协调版本
arcpy.ReconcileVersions_management("", "ALL_VERSIONS", "", "", "LOCK_ACQUIRED", "NO_ABORT", "BY_OBJECT", "FAVOR_TARGET_VERSION", "NO_POST", "KEEP_VERSION", 协调版本日志) # Process: 取消注册版本
arcpy.UnregisterAsVersioned_management("", "KEEP_EDIT", "NO_COMPRESS_DEFAULT") # Process: 更改版本
arcpy.AlterVersion_management("", "", "", "", "PRIVATE") # Process: 注册版本
arcpy.RegisterAsVersioned_management("", "NO_EDITS_TO_BASE") # Process: 添加字段冲突过滤器
arcpy.AddFieldConflictFilter_management("", "") # Process: 移除字段冲突过滤器
arcpy.RemoveFieldConflictFilter_management("", "")

24、索引

# Process: 添加属性索引
arcpy.AddIndex_management("", "", "", "NON_UNIQUE", "NON_ASCENDING") # Process: 添加空间索引
arcpy.AddSpatialIndex_management("", "0", "0", "0") # Process: 移除属性索引
arcpy.RemoveIndex_management("", "") # Process: 移除空间索引
arcpy.RemoveSpatialIndex_management("")

25、表

# Process: 分析
arcpy.Analyze_management("", "") # Process: 创建取消注册表
arcpy.CreateUnRegisteredTable_management("", "", "", "") # Process: 创建表
arcpy.CreateTable_management("", "", "", "") # Process: 删除行
arcpy.DeleteRows_management("") # Process: 复制行
arcpy.CopyRows_management("", 输出表__4_, "") # Process: 截断表
arcpy.TruncateTable_management("") # Process: 数据透视表
arcpy.PivotTable_management("", "", "", "", 输出表__6_) # Process: 获取计数
arcpy.GetCount_management("")

26、要素

# Process: XY 转线
arcpy.XYToLine_management("", 输出要素类, "", "", "", "", "0", "", "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.RepairGeometry_management("", "DELETE_NULL") # Process: 切分
arcpy.Dice_management("", 输出要素类__3_, "") # Process: 删除要素
arcpy.DeleteFeatures_management("") # Process: 原点夹角距离定义线
arcpy.BearingDistanceToLine_management("", 输出要素类__5_, "", "", "", "9001", "", "9102", "0", "", "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.UnsplitLine_management("", 输出要素类__6_, "", "") # Process: 在折点处分割线
arcpy.SplitLine_management("", 输出要素类__7_) # Process: 在点处分割线
arcpy.SplitLineAtPoint_management("", "", 输出要素类__8_, "") # Process: 复制要素
arcpy.CopyFeatures_management("", 输出要素类__9_, "", "0", "0", "0") # Process: 多部件至单部件
arcpy.MultipartToSinglepart_management("", 输出要素类__10_) # Process: 大地测量密度
arcpy.GeodeticDensify_management("", 输出要素类__11_, "GEODESIC", "50 Kilometers") # Process: 最小边界几何
arcpy.MinimumBoundingGeometry_management("", 输出要素类__12_, "RECTANGLE_BY_AREA", "NONE", "", "NO_MBG_FIELDS") # Process: 检查几何
arcpy.CheckGeometry_management("", 输出表) # Process: 添加 XY 坐标
arcpy.AddXY_management("") # Process: 添加几何属性
arcpy.AddGeometryAttributes_management("", "", "", "", "") # Process: 点集转线
arcpy.PointsToLine_management("", 输出要素类__13_, "", "", "NO_CLOSE") # Process: 表转椭圆
arcpy.TableToEllipse_management("", 输出要素类__14_, "", "", "", "", "9001", "", "9102", "", "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.FeatureEnvelopeToPolygon_management("", 输出要素类__15_, "SINGLEPART") # Process: 要素折点转点
arcpy.FeatureVerticesToPoints_management("", 输出要素类__16_, "ALL") # Process: 要素转点
arcpy.FeatureToPoint_management("", 输出要素类__17_, "CENTROID") # Process: 要素转线
arcpy.FeatureToLine_management("", 输出要素类__18_, "", "ATTRIBUTES") # Process: 要素转面
arcpy.FeatureToPolygon_management("", 输出要素类__19_, "", "ATTRIBUTES", "") # Process: 调整 3D Z 值
arcpy.Adjust3DZ_management("", "NO_REVERSE", "0", "", "") # Process: 面转线
arcpy.PolygonToLine_management("", 输出要素类__21_, "IDENTIFY_NEIGHBORS")

27、要素类

# Process: 创建取消注册要素类
arcpy.CreateUnRegisteredFeatureclass_management("", "", "POLYGON", "", "DISABLED", "DISABLED", "", "") # Process: 创建要素类
arcpy.CreateFeatureclass_management("", "", "POLYGON", "", "DISABLED", "DISABLED", "", "", "0", "0", "0") # Process: 整合
arcpy.Integrate_management("", "") # Process: 更新注记要素类
arcpy.UpdateAnnotation_management("", "POPULATE") # Process: 计算默认 XY 容差
arcpy.CalculateDefaultClusterTolerance_management("") # Process: 计算默认空间格网索引
arcpy.CalculateDefaultGridIndex_management("") # Process: 追加注记要素类
arcpy.AppendAnnotation_management("", 输出要素类__4_, "", "CREATE_CLASSES", "NO_SYMBOL_REQUIRED", "AUTO_CREATE", "AUTO_UPDATE") # Process: 重新计算要素类范围
arcpy.RecalculateFeatureClassExtent_management("")

28、连接

# Process: 添加连接
arcpy.AddJoin_management("", "", "", "", "KEEP_ALL") # Process: 移除连接
arcpy.RemoveJoin_management("", "") # Process: 连接字段
arcpy.JoinField_management("", "", "", "", "")

29、采样

# Process: 创建渔网
arcpy.CreateFishnet_management(输出要素类, "", "", "", "", "", "", "", "LABELS", "DEFAULT", "POLYLINE") # Process: 创建随机点
arcpy.CreateRandomPoints_management(Default_gdb, "", "", "0 0 250 250", "100", "0 Unknown", "POINT", "0") # Process: 沿线生成点
arcpy.GeneratePointsAlongLines_management("", 输出要素类__3_, "DISTANCE", "", "", "") # Process: 生成曲面细分
arcpy.GenerateTessellation_management(输出要素类__4_, "DEFAULT", "HEXAGON", "0 Unknown", "")

30、附件

# Process: 启用附件
arcpy.EnableAttachments_management("") # Process: 添加附件
arcpy.AddAttachments_management("", "", "", "", "", "") # Process: 生成附件匹配表
arcpy.GenerateAttachmentMatchTable_management("", "", 输出匹配表, "", "", "RELATIVE") # Process: 禁用附件
arcpy.DisableAttachments_management("") # Process: 移除附件
arcpy.RemoveAttachments_management("", "", "", "", "")

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(数据管理工具)《一》

    数据管理工具 1.LAS数据集 # Process: LAS 数据集统计数据 arcpy.LasDatasetStatistics_management("", "SKI ...

  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. ubuntu软件工具推荐

    时间:2019-04-11 记录:PangYuaner 标题:串口调试利器--Minicom配置及使用详解 地址:https://www.cnblogs.com/wonux/p/5897127.htm ...

  2. Focal Loss(RetinaNet)笔记 一种减小类别不平衡影响的方法

    Paper: https://arxiv.org/abs/1708.02002 还参考了:https://www.jianshu.com/p/8e501a159b28 其中p是预测属于某类的概率.

  3. 假期作业03:使用IDE开发你的Java程序

    假期作业03:使用IDE开发你的Java程序 一.使用Eclipse创建一个Java项目HelloWorldPrj,编写一个Java程序并运行. 首先要下载eclipse. (注意这里要选一个中国的, ...

  4. Onenote实现OCR识别图片

    OCR识别推荐两个软件: 1.       Tesseract:一个开源的,由谷歌维护的OCR软件. 2.       Onenote:微软Office附带或者可以自己独立安装. 3.       O ...

  5. adb 常用命令大全(7)- 其他实用功能

    屏幕截图 adb exec-out screencap -p > sc.pn 截图保存到电脑执行该命令的目录下 如果指定文件名以 .png 结尾时可以省略 -p 参数 注意 如果 adb 版本较 ...

  6. Linux - last 命令(Mac 电脑)

    前言 为啥写这篇? 因为听 grep.sed 教程的时候有这个命令栗子 加上工作中,运维给我排查问题的时候也用到了,感觉挺重要,先了解为敬! 命令作用 显示用户和TTY的最后登录次数 这个是在 Mac ...

  7. Git 系列教程(13)- 分支管理

    查看分支列表 $ git branch iss53 * master testing  注意 master 分支前的 * 字符:它代表现在 checkout 的那一个分支(也就是说,当前 HEAD 指 ...

  8. VMware Vsphere 虚拟化

    总体架构 主要组件: 1)ESXi 底层虚拟化层,用于将物理服务器虚拟成资源池,提供管理接口,方便其他的管理组件进行管理,其实体形态是iso文件,刻成启动光盘可直接安装在服务器裸机上: 安装在实体服务 ...

  9. Postman调试Abp API

    在swagger中查看登录需要用post方式访问,Abp需要用application/json方式调用 请求体 Postman调用方式 例:访问所有用户,调用Api地址为http://localhos ...

  10. redis存取数据sortedSet

    有序比无序的更耗性能 一.存取元素 1.添加元素,value存在则替换score值,不存在则添加: 2.获取某个元素的分数 3. 4.获取一定索引区间元素value值,默认按照对应score升序排序: ...