题意: 给出两点的经纬度,求两点的球面距离与直线距离之差。解法: 我们先算出球面距离,然后可以根据球面距离算出直线距离。球面距离公式:R*acos(sin(W1)*sin(W2)+cos(W1)*cos(W2)*cos(J1-J2)); ( W1,W2 为两点的纬度值,J1,J2为两点的经度值 )....
分类:
其他好文 时间:
2014-12-12 22:07:02
阅读次数:
243
SquaresThe famous Korean IT companyplans to make a digital map of the Earth with help of wireless sensors which spread out in rough terrains. Each ...
分类:
其他好文 时间:
2014-12-08 12:03:39
阅读次数:
329
从以上图片可以看到mac地址
ssid(无线名称)经纬度根据上图GPS提供的经纬信息再导出成KML文件,放到Google
Earth中去,一目了然。根据MAC和SSID可以进行终端定位
分类:
其他好文 时间:
2014-11-22 02:04:20
阅读次数:
264
Problem DescriptionIn the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns ....
分类:
其他好文 时间:
2014-11-10 01:05:49
阅读次数:
207
Time limit : 2sec / Stack limit : 256MB / Memory limit : 256MB
Problem
Charlie was born January 1st of the year A,
on the Earth. He will leave the Earth on December 31st of the year B.
He w...
分类:
其他好文 时间:
2014-11-02 16:32:02
阅读次数:
258
Google Earth数据存储、管理、表现及开发机制
一、 Google Earth(Map)介绍
1.1 Google Earth介绍
在众多的地理信息服务提供商中,Google是较早提供服务的一个,其他有如ESRI这样的巨头,也有中国的灵图。但凭借着提供优质、高效、高性价比服务的理念和Google自身的巨大影响力,Google推出的Google
Earth和Google...
分类:
其他好文 时间:
2014-10-17 23:26:04
阅读次数:
425
1、Python中__name__在这个模块被import时,这个变量值为该模块名,如果是运行时,则__name__值是__main__2、字典就是键值对,创建字典方法:方法一:>>> dict1 = {}>>> dict2 = {'name': 'earth', 'port': 80}>>> di...
分类:
编程语言 时间:
2014-10-14 01:59:37
阅读次数:
334
题意:
平面上有一些圆 要求用最少的圆将1、2、3点连通 这三点上的圆必须使用
思路:
如果两圆可以连通 则用边把它们圆心相连 然后问题转化为图论模型 那么我们只需要从1、2、3求出到其他点的最短路 再枚举中间点分别到这三个点距离和即可
为什么这样找中间点是对的?? 因为虽然可能存在x->1和x->2的最短路经过y 但是如果y真的存在 那么最小值一定是y提供的 就算我们...
分类:
其他好文 时间:
2014-10-05 12:26:58
阅读次数:
137
与上一讲无本质区别,主要用lod。首先查看google earth,在视角海拔高度649公里,显示陕西省,西安市。384公里显示其他的市,显示全国各级地名的话需要有数据。数据提供在builder\data\label\kmz文件夹中,kmz即为全国各省地名,不包括台湾,kmz格式可以解压,解压后是k...
分类:
其他好文 时间:
2014-09-29 12:13:20
阅读次数:
184
第八讲 程序 debug 会出问题,release 不会出问题在调用geos.dll时出错查看osgearth生成时的cmake目录,会发现GEOS_LIBRARY_DEBUG目录选的是019.Earth/builder/runtime/geos3.3.2/bin/geos_i.lib 选错了 应该...
分类:
其他好文 时间:
2014-09-26 22:11:08
阅读次数:
199