• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2019年5月14日

python 获得一个数据的坐标系

摘要: 我的微信公众号 # # 1.py 闫磊编写 # Created on: 2011-05-06 16:56:36.00000 # (generated by ArcGIS/ModelBuilder) # Description: # import arcpy featureClass = arcpy. 阅读全文

posted @ 2019-05-14 19:27 gisai 阅读(1681) 评论(0) 推荐(0)

线闭合

该文被密码保护。 阅读全文

posted @ 2019-05-14 17:33 gisai 阅读(1) 评论(0) 推荐(0)

Arc'GIS Python 度分秒转度

摘要: import arcpy as ARCPY import os import types import string spiltstr="," def convertPoints(): ARCPY.OverWriteOutput = True # Input point FC # Output FC # Feature Field # Sort Fi... 阅读全文

posted @ 2019-05-14 16:56 gisai 阅读(852) 评论(0) 推荐(0)

ArcGIS python 获得工具箱所在路径

摘要: import arcpy import os import sys ################################# # scriptPath = sys.path[0] arcpy.AddMessage("Script folder: " + scriptPath) ########################################## # toolShar... 阅读全文

posted @ 2019-05-14 16:50 gisai 阅读(870) 评论(0) 推荐(0)

ArcGIS featSet

摘要: import arcpy fc = arcpy.GetParameterAsText(0)try: featSet = arcpy.FeatureSet(fc) featSet.save("d:/temp.shp")except Exception as e: print e.message # I 阅读全文

posted @ 2019-05-14 16:47 gisai 阅读(81) 评论(0) 推荐(0)

Arcgis python输出当前窗口

摘要: import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") mxdfile=arcpy.GetParameterAsText(0) dpi=arcpy.GetParameterAsText(1) arcpy.mapping.ExportToJPEG(mxd, mxdfile ,resolution=dpi) del mxd 阅读全文

posted @ 2019-05-14 16:46 gisai 阅读(298) 评论(0) 推荐(0)

ArcGIS Python 保存lyr

摘要: import arcpy ##################my = arcpy.GetParameterAsText(0)mylyrfile = arcpy.GetParameterAsText(1)if my== '#': my = "F:\\闫磊\\data\\Chinadata\\shp\ 阅读全文

posted @ 2019-05-14 16:44 gisai 阅读(513) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3