Conversion Tools(转换工具)

网友投稿 1556 2022-10-12

Conversion Tools(转换工具)

Conversion Tools(转换工具)

转换工具

1、Excel

# Process: Excel 转表arcpy.ExcelToTable_conversion("", 输出表, "")# Process: 表转 Excelarcpy.TableToExcel_conversion("", 输出_Excel_文件, "NAME", "CODE")

2、JSON

# Process: JSON 转要素arcpy.JSONToFeatures_conversion("", 输出要素类)# Process: 要素转 JSONarcpy.FeaturesToJSON_conversion("", 输出_JSON, "NOT_FORMATTED", "NO_Z_VALUES", "NO_M_VALUES", "NO_GEOJSON")

3、从PDF

# Process: PDF 转 TIFFarcpy.PDFToTIFF_conversion("", 输出_TIFF_文件, "*****", "1", "", "NO_CLIP", "250", "RGB_TRUE_COLOR", "LZW", "GEOTIFF_TAGS")

4、元数据

# Process: Esri 元数据转换程序arcpy.ESRITranslator_conversion("", "", 输出文件, 日志文件)# Process: USGS MP 元数据转换程序arcpy.USGSMPTranslator_conversion("", "", "mp_input_xml", 输出文件__2_, 日志文件__2_)# Process: XML 模式验证arcpy.XMLSchemaValidator_conversion("", "", "")# Process: XSLT 变换arcpy.XSLTransform_conversion("", "", 输出文件__3_, "")# Process: 元数据发布程序arcpy.MDPublisher_conversion("", "", "", "", "", "")# Process: 元数据导入程序arcpy.MetadataImporter_conversion("", "")# Process: 升级元数据arcpy.UpgradeMetadata_conversion("", "")# Process: 同步元数据arcpy.SynchronizeMetadata_conversion("", "sync_always")# Process: 导入元数据arcpy.ImportMetadata_conversion("", "FROM_ISO_19139", "", "ENABLED")# Process: 导出元数据arcpy.ExportMetadata_conversion("", "", 输出文件__4_)# Process: 批量导出元数据arcpy.ExportMetadataMultiple_conversion("", "", "")# Process: 批量验证元数据arcpy.ValidateMetadataMultiple_conversion("", "", "", "", "")# Process: 验证元数据arcpy.ValidateMetadata_conversion("", "", "", "", 输出文件__6_)

5、由GPS转出

# Process: GPX 转要素arcpy.GPXtoFeatures_conversion("", 输出要素类)

6、由KML转出

# Process: KML 转图层arcpy.KMLToLayer_conversion("", "", "", "NO_GROUNDOVERLAY")

7、由WFS转出

# Process: WFS 至要素类arcpy.WFSToFeatureClass_conversion("", "", "", "")

8、由栅格转出

# Process: 栅格转 ASCIIarcpy.RasterToASCII_conversion("", 输出_ASCII_栅格文件)# Process: 栅格转折线arcpy.RasterToPolyline_conversion("", 输出折线要素, "ZERO", "0", "SIMPLIFY", "")# Process: 栅格转浮点型arcpy.RasterToFloat_conversion("", 输出浮点栅格文件)# Process: 栅格转点arcpy.RasterToPoint_conversion("", 输出点要素, "")# Process: 栅格转视频arcpy.RasterToVideo_conversion("", 输出视频文件, "BMP", "Microsoft Video 1", "FRAME_RATE", "30", "100")# Process: 栅格转面arcpy.RasterToPolygon_conversion("", 输出面要素, "SIMPLIFY", "", "SINGLE_OUTER_PART", "")

9、至GeoPackage

# Process: 向 GeoPackage 添加栅格arcpy.AddRasterToGeoPackage_conversion("", "", "", "TILED", "", 感兴趣区)

10、转为CAD

# Process: 导出为 CADarcpy.ExportCAD_conversion("", "DWG_R2018", 输出文件, "Ignore_Filenames_in_Tables", "Overwrite_Existing_Files", "")# Process: 添加 CAD 字段arcpy.AddCADFields_conversion("", "ADD_ENTITY_PROPERTIES", "ADD_LAYER_PROPERTIES", "ADD_TEXT_PROPERTIES", "ADD_DOCUMENT_PROPERTIES", "ADD_XDATA_PROPERTIES")

11、转为Collada

# Process: 多面体转 Colladaarcpy.MultipatchToCollada_conversion("", 输出_Collada_文件夹, "PREPEND_NONE", "")

12、转为Coverage

# Process: 从 E00 导入arcpy.ImportFromE00_conversion("", "", "")# Process: 要素类转 Coveragearcpy.FeatureclassToCoverage_conversion("", 输出_Coverage, "", "DOUBLE")

13、转为dBASE

# Process: 表转 dBASE (批量)arcpy.TableToDBASE_conversion("", "")

14、转为KML

# Process: 图层转 KMLarcpy.LayerToKML_conversion("", 输出文件, "0", "NO_COMPOSITE", "DEFAULT", "1024", "96", "CLAMPED_TO_GROUND")# Process: 地图转 KMLarcpy.MapToKML_conversion("", "", 输出文件__2_, "0", "NO_COMPOSITE", "VECTOR_TO_IMAGE", "DEFAULT", "1024", "96", "CLAMPED_TO_GROUND")

15、转为Shapefile

# Process: 要素类转 Shapefile (批量)arcpy.FeatureClassToShapefile_conversion("", "")

16、转为栅格

# Process: ASCII 转栅格arcpy.ASCIIToRaster_conversion("", 输出栅格, "INTEGER")# Process: DEM 转栅格arcpy.DEMToRaster_conversion("", 输出栅格__2_, "FLOAT", "1")# Process: LAS 数据集转栅格arcpy.LasDatasetToRaster_conversion("", 输出栅格__3_, "ELEVATION", "BINNING AVERAGE LINEAR", "FLOAT", "CELLSIZE", "10", "1")# Process: 多面体转栅格arcpy.MultipatchToRaster_conversion("", 输出栅格__4_, "")# Process: 折线转栅格arcpy.PolylineToRaster_conversion("", "", 输出栅格数据集, "MAXIMUM_LENGTH", "NONE", "")# Process: 栅格转其他格式(批量)arcpy.RasterToOtherFormat_conversion("", "", "TIFF")# Process: 浮点型转栅格arcpy.FloatToRaster_conversion("", 输出栅格__5_)# Process: 点转栅格arcpy.PointToRaster_conversion("", "", 输出栅格数据集__2_, "MOST_FREQUENT", "NONE", "")# Process: 要素转栅格arcpy.FeatureToRaster_conversion("", "", 输出栅格__6_, "")# Process: 面转栅格arcpy.PolygonToRaster_conversion("", "", 输出栅格数据集__3_, "CELL_CENTER", "NONE", "")

17、转出至地理数据库

# Process: CAD 至地理数据库arcpy.CADToGeodatabase_conversion("", "", "", "1000", "")# Process: 导入 CAD 注记arcpy.ImportCADAnnotation_conversion("", 输出要素类, "1000", "CLASSES_FROM_LEVELS", "NO_MATCH", "NO_SYMBOL_REQUIRED", "STANDARD", "", "AUTO_CREATE", "AUTO_UPDATE")# Process: 导入 Coverage 注记arcpy.ImportCoverageAnnotation_conversion("", 输出要素类__2_, "1000", "CLASSES_FROM_LEVELS", "NO_MATCH", "NO_SYMBOL_REQUIRED", "STANDARD", "", "AUTO_CREATE", "AUTO_UPDATE")# Process: 将运行时地理数据库复制到文件地理数据库arcpy.CopyRuntimeGdbToFileGdb_conversion("", 输出文件地理数据库)# Process: 栅格数据至地理数据库(批量)arcpy.RasterToGeodatabase_conversion("", "", "")# Process: 表至地理数据库(批量)arcpy.TableToGeodatabase_conversion("", "")# Process: 表至表arcpy.TableToTable_conversion("", "", "", "", "", "")# Process: 要素类至地理数据库(批量)arcpy.FeatureClassToGeodatabase_conversion("", "")# Process: 要素类至要素类arcpy.FeatureClassToFeatureClass_conversion("", "", "", "", "", "")

箴言:因为这些东西是非常简单的。不要抱怨自己学不会,那是因为你没有足够用心。

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:IMI- 基于 Swoole 的协程 PHP 开发框架(imile)
下一篇:一个进程级别的python并行框架(python的多进程是并发还是并行)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~