2014年5月4日

python引入自定义模块的方法一种

摘要: 有一个文件在D:\Python\a.txt 编写的代码在D:\Python\filefelix.py filefelix.py的内容:import sys def myfile(filename): '''''Print a file to the standard output... 阅读全文

posted @ 2014-05-04 23:25 Felixlovechina 阅读(208) 评论(0) 推荐(0) 编辑

2013年8月11日

css

摘要: #yangdianchaxun{ width:300px;height:200px; position:absolute; top:100px;left:80px; z-index:10000;border:solid 2px #929761; background-color:#FFFFFF; display:none;}.drsMoveHandle{ background-color:#5D79A1; position:absolute; width:100%;}#shangechaxun{ width:300px;height:200px; position:absolute; ... 阅读全文

posted @ 2013-08-11 19:26 Felixlovechina 阅读(108) 评论(0) 推荐(0) 编辑

identify.js

摘要: var identifyTask, identifyParams, symbol;//栅格function identify(Layer){ console.log("Console identifyRaster"); dojo.connect(app.map, "onClick", doIdentify); //实例化IdentifyTask identifyTask = new esri.tasks.IdentifyTask(Layer.url); //IdentifyTask参数设置 identifyParams = new esri.tasks. 阅读全文

posted @ 2013-08-11 19:23 Felixlovechina 阅读(447) 评论(0) 推荐(0) 编辑

map.js

摘要: function init() { //var aField=new Array(); //var allFeatureUrl = new Array();//存放所有layer //var allRasterUrl = new Array();//存放所有layer //var allRasterId = new Array();//存放所有栅格layer的ID与养分下拉框对应 //var allFeatureId = new Array()... 阅读全文

posted @ 2013-08-11 19:22 Felixlovechina 阅读(265) 评论(0) 推荐(0) 编辑

div.js

摘要: //显示二级菜单 function showDiv(divName) { document.getElementById(divName).style.display = "block"; switch (divName){ case "menu1": document.getElementById(divName+"S").style.color="#2E4560"; document.getElementById(divName+"S").style.background="#ff 阅读全文

posted @ 2013-08-11 19:21 Felixlovechina 阅读(151) 评论(0) 推荐(0) 编辑

2013年4月28日

ArcGIS for JavaScript 的Demo中在线引用转为离线

摘要: 在线<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/dojo/dijit/ themes/claro/claro.css"> <link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/es ri.css"> <style> html, bo 阅读全文

posted @ 2013-04-28 18:35 Felixlovechina 阅读(261) 评论(0) 推荐(0) 编辑

mapgis转shape格式方法

摘要: 原始文件:1.wt(mapgis点文件)XXX.xls(excel表文件)目标文件:1.shp、1.dbf、1.shx (shape三文件)使用软件:mapgis、arcgis其他转换方法存在问题:直接输出1.wt为shape会有90%以上属性丢失及错误如果字段名称过长还会无法输出点属性不知道mapgis k9是不是解决了上边的bug,官网下载太慢了没尝试操作步骤:1.在mapgis6.7文件转换中打开1.wt文件,输出为shape格式2.在mapgis6.7属性库管理中打开1.wt输出点属性为dbf格式并覆盖上次输出的1.dbf文件,只选择ID和一个可以连接excel表的字段3.在arcgi 阅读全文

posted @ 2013-04-28 18:33 Felixlovechina 阅读(749) 评论(0) 推荐(0) 编辑

导航