摘要: Google Maps、Virtual Earth等网络地理所使用的地图投影,常被称作Web Mercator或Spherical Mercator,它与常规墨卡托投影的主要区别就是把地球模拟为球体而非椭球体。 什么是墨卡托投影? 墨卡托(Mercator)投影,又名"等角正轴圆柱投影",荷兰地图学家墨卡托(Mercator)在1569年拟定,假设地球被围在一个中空的圆柱里,其赤道与圆柱相接触,然后再假想地球中心有一盏灯,把球面上的图形投影到圆柱体上,再把圆柱体展开,这就是一幅标准纬线为零度(即赤道)的"墨卡托投影"绘制出的世界地图。从球到平面,肯定有个 阅读全文
posted @ 2012-07-16 20:48 simplefrog 阅读(770) 评论(0) 推荐(0) 编辑
摘要: Click on a tile to display the numerical boundaries...Addressing tiles: same tile bounds with different indexes Google Maps, Microsoft Virtual Earth, Yahoo Maps, and other commercial API providers as well as OpenStreetMap and OpenAerialMap are using the same projection and tiling profile and tiles a 阅读全文
posted @ 2012-07-16 20:40 simplefrog 阅读(542) 评论(0) 推荐(0) 编辑
摘要: by MortenPeople are often mixing the above as if they were one and the same, so here’s a recap of them. One of the things you often find people saying is that “my data is in the WGS84 coordinate system”. This doesn’t really make sense, but I will get back to this later. This is a very confusing subj 阅读全文
posted @ 2012-07-16 20:29 simplefrog 阅读(387) 评论(0) 推荐(0) 编辑
摘要: IntroductionThe surface of the Earth is anything but uniform. The oceans, can be treated as reasonably uniform, but the surface or topography of the land masses exhibits large vertical variations between mountains and valleys. These variations make it impossible to approximate the shape of the Earth 阅读全文
posted @ 2012-07-16 20:08 simplefrog 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 在开发单线图排版算法演示功能时,需要每执行一步排版过程,调整了电力设备的位置后就暂停一下,笔者第一个想到的方法就是让主线程暂停代码如下:private void showlayout_delay(double p_second) { DateTime now = DateTime.Now; while (now.AddSeconds(p_second) > DateTime.Now) { } return; }或System.Threading.Thread.Sleep(p_waitMilliSecond);上面的方法虽然让程序暂停下来,但是却存在一个问题:无论排版过程运行了多少步,程序 阅读全文
posted @ 2012-07-16 19:54 simplefrog 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 当从数据库获取单线图数据时,需一段时间等待,故在等待提示窗口中使用gif动画来表示操作正在运行中,但当笔者将等待提示窗口放在main()主线程中时,发现gif动画不会动了解决方法:带gif动画的等待提示窗口在另一个线程中运行下面是等待提示窗口的代码public partial class Form_wait_thread : Form { public Form_wait_thread() { InitializeComponent(); } private delegate void SetTextHandler(string text); public void SetText(strin 阅读全文
posted @ 2012-07-16 18:50 simplefrog 阅读(1481) 评论(0) 推荐(0) 编辑
摘要: 在开发WEB应用时会遇到一种情况,一个部署在域名www.a.com的网站使用一个frame或iframe嵌入一个部署在域名www.b.com的网站的网页page.aspx而这个page.aspx使用了ASP_NET AJAX,此时ASP_NET AJAX就会出现跨域访问的问题解决方法:1、为ScriptManager添加脚本引用,不从ScriptResource.axd中加载MicrosoftAjax.js脚本,而是直接加载<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePag 阅读全文
posted @ 2012-07-16 10:13 simplefrog 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 如果dropdownlist绑定的是英文数据,则没问题,如果是中文就出错在webconfig文件中加入下面的配置即可解决问题<location path="module/BusinessFunction/visionPlan/ksjhArrangePlan.aspx"> <system.web> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> </system.web></location> 阅读全文
posted @ 2012-07-16 10:00 simplefrog 阅读(531) 评论(0) 推荐(0) 编辑