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

gisoracle

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

公告

文章分类 -  python

上一页 1 2 3 4 5 下一页

python
公里网或方里网制作
该文被密码保护。

posted @ 2019-06-07 15:14 gisai 阅读(0) 评论(0) 推荐(0)

arcgis python 把一个图层数据合并在一起
摘要:pgeometry=getLayerGeomtry(inFeature) yl_tmp = arcpy.CreateUniqueName("yl_tmp") #临时数据 arcpy.Select_analysis(pgeometry, yl_tmp, '') 阅读全文

posted @ 2019-06-04 11:33 gisai 阅读(714) 评论(0) 推荐(0)

按长度分割线
该文被密码保护。

posted @ 2019-06-02 15:48 gisai 阅读(0) 评论(0) 推荐(0)

批量修改几何
该文被密码保护。

posted @ 2019-05-25 20:30 gisai 阅读(0) 评论(0) 推荐(0)

梯形接幅表
该文被密码保护。

posted @ 2019-05-25 19:31 gisai 阅读(0) 评论(0) 推荐(0)

获得数据的经纬度范围
该文被密码保护。

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

arcgis python默认数据库
摘要:jfb_Select=arcpy.env.scratchWorkspace+"\yl999"#不能c:\要c:\\或则 c:/ desc = arcpy.Describe(inputFeature) shapeType=desc.shapeType #类型 shapeName = desc.shap 阅读全文

posted @ 2019-05-25 07:15 gisai 阅读(143) 评论(0) 推荐(0)

python 字段是否存在
摘要:def FieldExists(TableName,FieldName): desc = arcpy.Describe(TableName) FieldName=FieldName.upper() for field in desc.fields: if field.Name.upper() ==FieldName: retu... 阅读全文

posted @ 2019-05-25 07:08 gisai 阅读(792) 评论(0) 推荐(0)

python2升级python修改日志
该文被密码保护。

posted @ 2019-05-24 23:45 gisai 阅读(7) 评论(0) 推荐(0)

python 度和度分秒转换
该文被密码保护。

posted @ 2019-05-24 22:58 gisai 阅读(1) 评论(0) 推荐(0)

python汉字 sitecustomize
摘要:C:\Python26\ArcGIS10.0\Lib\site-packages\sitecustomize.py 1、在python安装目录下的lib下的site-packages 目录中,新建文件sitecustomize.py。这是个特殊的文件,在python启动时会自动执行其中的语句。在si 阅读全文

posted @ 2019-05-22 13:06 gisai 阅读(155) 评论(0) 推荐(0)

导出坐标征地
该文被密码保护。

posted @ 2019-05-21 22:38 gisai 阅读(0) 评论(0) 推荐(0)

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 阅读(1682) 评论(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)

Python mxd中图层信息
摘要:# -*- coding: cp936 -*- import arcpy #get mxd directory myinput = arcpy.GetParameterAsText(0) mxd=arcpy.mapping.MapDocument(myinput) for df in arcpy.mapping.ListDataFrames(mxd): for lyr in arc... 阅读全文

posted @ 2019-05-12 22:37 gisai 阅读(234) 评论(0) 推荐(0)

读取坐标输出为文件
摘要:import arcpy # Describe a feature class with a geographic coordinate system # desc = arcpy.Describe("d:/base/data.gdb/latlongbnd") # Create search cursor. Use the spatial reference object from the ... 阅读全文

posted @ 2019-05-11 13:04 gisai 阅读(96) 评论(0) 推荐(0)

Arcpy 随机选取部分要素并导出
摘要:Arcpy 随机选取部分要素并导出 阅读全文

posted @ 2019-05-08 07:31 gisai 阅读(515) 评论(0) 推荐(0)

上一页 1 2 3 4 5 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3