用博客记录点滴……
上一页 1 ··· 4 5 6 7 8
摘要: //JS前端代码function Exportqmdltb() { var areavalue= GetQmdltmValue(); $.ajax({ type: "post", dataType: "text", url: "./GisUtil... 阅读全文
posted @ 2014-04-18 16:16 aegisada 阅读(814) 评论(0) 推荐(0) 编辑
摘要: //下载NPOI类库并添加引用using NPOI.SS.UserModel;using NPOI.HSSF.UserModel;using NPOI.SS.Util;public static void MergeCell(ISheet tb, ICell cl, int firstrow, in... 阅读全文
posted @ 2014-04-18 16:10 aegisada 阅读(1107) 评论(0) 推荐(2) 编辑
摘要: 1. Open IIS Manager2. Select MIME Types3. In the right pane, click Add…4. Enter the following information:File Name Extension: .shpMIME Type: application/octet-stream5. Click OK6. .SHP is now available to be referenced in your dashboards.- See more at: http://centigonknowledge.com/tutorial/configure 阅读全文
posted @ 2014-04-09 17:49 aegisada 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 最近开始使用VS2012,在引用COM组件的时候,出现了无法嵌入互操作类型“……”,请改用适用的接口的错误提示。找到解决方案:选中项目中引入的dll,鼠标右键,选择属性,把“嵌入互操作类型”设置为False。 阅读全文
posted @ 2014-03-18 15:33 aegisada 阅读(160) 评论(0) 推荐(0) 编辑
摘要: ArcGIS Server REST API 中的很多操作都可以用以下方式实现,具体参数的设置请查看其中的详细说明 1 public List getGeometry(string CZAH, string url) 2 { 3 url += "/query";//query url 4 string postString = "where=CZAH='" + CZAH + "'";//where 5 //postString += "text=04CH88131210000004"; 6 ... 阅读全文
posted @ 2014-02-26 10:14 aegisada 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 一、Server.MapPathE:\MyProject\GisSystem\Json\jsonlist.aspx,GisSystem项目下有个Json文件夹,文件夹下有个jsonlist.aspx。运行jsonlist.aspx时:Server.MapPath("")//当前运行文件所在的目录,E:\MyProject\GisSystem\JsonServer.MapPath("./")//当前运行文件所在的目录,E:\MyProject\GisSystem\Json\Server.MapPath("../")//当前运行文件所在目 阅读全文
posted @ 2014-02-26 09:58 aegisada 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 注意:js对地图的打印功能在arcgis10.1中才有提供,所以如果要使用esri自带的地图打印功能,必须使用arcgis 10.1或更高版本的地图打印模板。(由于官网和arcgis desktop提供的地图打印模板在打印地图标题时不能显示中文,所以建议自己用arcgis自定义模板,这样就能实现中文标题的打印了。) 1 function Print(printTitle) { 2 //var printTitle = $("#ipttitle").val(); 3 var legend = $("#Checkbox1").prop("check 阅读全文
posted @ 2014-02-25 17:03 aegisada 阅读(2217) 评论(3) 推荐(1) 编辑
摘要: 1.1 ITopologicalOperator接口1.1.1 ITopologicalOperator接口简介ITopologicalOperator接口用来通过对已存在的几何对象做空间拓扑运算以产生新的结合对象。实现该接口的类有Point,Multipoint,Polyline,Polygon,MultiPatch这些都是高级几何对象,另外GeometryBag也实现了该接口,低级的构建几何对象如Segments(Line,Circular Arc,Elliptic Arc,Bezier Curve),Paths或者Rings如果想使用该接口需包装成高级几何对象。ITopologicalO 阅读全文
posted @ 2014-02-25 16:30 aegisada 阅读(1399) 评论(0) 推荐(0) 编辑
摘要: 1 public void VersionManagement(IVersionedWorkspace versionedWorkspace) 2 { 3 //creating the new version off of the Default Version 4 5 IVersion version = versionedWorkspace.DefaultVersion; 6 version.CreateVersion("Work Order 95082"); 7 8 //setting the versions access 9 version.Access = e. 阅读全文
posted @ 2014-02-25 16:20 aegisada 阅读(693) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8