arcgis

arcgis python xlstoshp

时间秒杀一切 提交于 2019-11-27 08:36:23
import xlrd # must init xlrd import arcpy # param arcpy.env.workspace = r"F:\note\python\ArcPy" #workspace excelPath = r"test.xlsx" # excel file path excelTableIndex = 0 # excel's table index outName = r"point.shp" # out file excel = xlrd.open_workbook('test.xlsx') # get excel table = excel.sheets()[0] # get table by sheets index nrows = table.nrows # number of table's row # get data pointGeometryList = [] # a list to hold the PointGeometry objects point = arcpy.Point() #create an empty Point object spRef = arcpy.SpatialReference('WGS84 ARC System Zone 18') for i in range(1,nrows): # get row

arcgis python 标注

半腔热情 提交于 2019-11-27 08:35:10
import arcpy mxd = arcpy.mapping.MapDocument("current") lyr = arcpy.mapping.ListLayers(mxd)[0] lyr.showLabels = True lyr.labelClasses[0].expression ="[Name]" arcpy.RefreshActiveView() arcpy.RefreshTOC() 来源: https://www.cnblogs.com/gisoracle/p/11354820.html

ArcGIS Runtime SDK for Android中SimpleFillSymbol.Style样式

六月ゝ 毕业季﹏ 提交于 2019-11-27 07:12:17
SimpleFillSymbol.Style样式枚举共8种: 1、 BACKWARD_DIAGONAL 反对角线填充 2、 CROSS 交叉线填充 3、 DIAGONAL_CROSS 前后对角线填充 4、 FORWARD_DIAGONAL 正向对角线 5、 HORIZONTAL 水平线填充 6、 NULL 不填充 7、 SOLID 全色填充 8、 VERTICAL 垂直线填充 来源: https://www.cnblogs.com/dangpengfei/p/11350134.html

AE 实现栅格图片切割

隐身守侯 提交于 2019-11-27 04:48:22
界面如图所示, button1:打开待切图 button2:关闭窗体 saveFileDialog1:保存对话框 mapcontrol1:地图 LicenseControl1:license控件 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Controls; using ESRI.ArcGIS.SystemUI; using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.DataSourcesGDB; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.DataSourcesRaster; using ESRI.ArcGIS.SpatialAnalyst; using ESRI.ArcGIS.GeoAnalyst; namespace cut { public partial

ArcGIS 发布Feature服务

∥☆過路亽.° 提交于 2019-11-27 04:48:09
运行环境: Win10 ArcGIS10.4 具体操作: 1、打开ArcMap,加载sde中导入的文件,也可以加载shp数据源指向sde中文件 2、保存成mxd,然后点share as-Service 3、Publish a service选择发布的服务,取名 4、勾选上Feature Access,然后点Analyze 5、会出现图层未注册的报错,双击报错信息,在弹出窗口中,选择Add。(此步之前必须要先创建企业级地理数据库) #如果您希望服务引用已复制到指定的企业级地理数据库的数据,则应注册服务器管理的数据库。在这种情况下,会将图层目前所引用的数据复制到刚刚注册的企业级地理数据库。服务中的图层将从这一企业级地理数据库而非原始数据源中引用数据。 #如果希望服务所引用的数据与地图相同,则请将此企业级地理数据库注册到 ArcGIS Server。 #如果希望服务引用的企业级地理数据库与地图不同,则将需要同时注册地图所使用的企业级地理数据库和服务要使用的企业级地理数据库。 6、新建注册地址 7、回到sde,在文件上点击右键,选择Manage--Register As Versioned 8、勾选上 9、回到ArcMap中继续Share As,Analyze没有问题则publish即可。 参考网址: https://jingyan.baidu.com/article

ArcGIS Server10.4安装教程

半城伤御伤魂 提交于 2019-11-27 04:47:36
准备内容 安装环境:win10*64位专业版 安装文件:ArcGIS_Server_Ent_Windows_1041_150998.iso 破解文件:Lic10.4.1.ecp #安装Server前,请保证已有Desktop环境,并关闭防火墙,保证6080端口畅通。 #请都以管理员身份运行安装程序 安装步骤 1、 右键以管理员身份运行:ArcGIS_for_Server_Windows_1041_151921.exe。 2、 检测工具安装,默认路径下一步。 3、 检测工具安装完成后,弹出Server安装窗口,默认next。 4、 选择安装路径后,点next。 5、 安装python(程序很小,默认路径即可),next。 6、 配置Server账户,这里需要记住密码,站点登陆需要。(推荐arcgis/arcgis) 7、 默认next,直到install。 8、点击finish。 8、 选择破解文件,完成破解。 9、 完成。 10、 登陆https://localhost:6443/arcgis/manager/,创建新站点。 11、 登陆用户siteadmin/arcgis。 12、 使用默认配置即可,直至完成。 13、 打开ArcCatalog,新建一个Server站点,Add ArcGIS Server。 14、 选择Administer GIS Server,下一步。 15、

ArcGIS Desktop10.4安装教程

六眼飞鱼酱① 提交于 2019-11-27 04:47:22
准备内容 安装环境:win10*64位专业版 安装文件:ArcGIS_Desktop_1041_150996.iso 破解文件:10.4.1crackOnly 请都以管理员身份运行安装程序 安装步骤 1、首先安装License:右键以管理员身份运行ArcGIS_License_Manager_Windows_1041_151791.exe 。 2、在ArcGIS10.4安装过程中,都会进行一次安装环境检测,选择安装路径默认即可。 3、在检测完毕后,点击close,会弹出License的安装程序,正式进入License的安装。 4、选择安装路径以后,继续下一步。 5、finish后,弹出License Server Administrator窗口,左侧选中Start/Stop License Service标签,点击Stop,先不要关闭此窗体。 6、找到破解文件10.4.1crackOnly下的License10.4文件夹,将其bin文件夹里面的文件,替换到License安装路径下的bin文件夹中。 7、最后回到刚才的License Server Administrator窗口,点击Start,出现Status:RUNNING即表示安装成功。 8、返回安装包中,右键以管理员身份运行ArcGIS_Desktop_1041_151727.exe。 9、依旧会出现检测程序安装指引,默认即可

java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

被刻印的时光 ゝ 提交于 2019-11-27 03:56:39
I have a mapping application that can add ArcGIS 9.3+ base maps given a URL. One of the URLs that I would like to add is from a customer's URL and is secured. My mapping application was using Java 6 before and was able to add the secure URL with no issues. I now upgraded to Java 7 and am getting a "java.security.cert.CertificateException: Certificates does not conform to algorithm constraints" exception. At first, I believe this to be the case because in Java 7, by default, the MD2 algorithm to sign SSL certificates is disabled. You can see this in the java.security file: "jdk.certpath