我的地图有如下图所示的地点。
这些地点位于纬度/升度和 Car(x、y、z)坐标的C#Dictionary物体。 该地区由5个小组负责,其中第一个小组位于该地区西南部。 我需要的是能够确定这些要点,以便最南半球最突出的点是第一点——这是地图上Enisluen附近的绿色3标记。 我正在尝试不同的办法,但未能取得我所希望的结果。
谁能解释一种能够发挥作用的办法?
标记
我的地图有如下图所示的地点。
这些地点位于纬度/升度和 Car(x、y、z)坐标的C#Dictionary物体。 该地区由5个小组负责,其中第一个小组位于该地区西南部。 我需要的是能够确定这些要点,以便最南半球最突出的点是第一点——这是地图上Enisluen附近的绿色3标记。 我正在尝试不同的办法,但未能取得我所希望的结果。
谁能解释一种能够发挥作用的办法?
标记
假设你知道该地图的南西角的Lt / Long,我将使用Aviation Approachry计算每一点的距离。 然后,你不得不根据所计算的距离进行分类。
如果你想要以类似于“最南端”的方式界定“最南湿”的定义,你可以按<代码>x+y排列<>。 你们可以认为,这是从整个系统角移至整个地图上的NW-SE线,同时注意到达到点数的顺序。 这相当于通过在<代码>y上进行分类来界定“最南端”的定义,在这种分类中,你重新将东西线从南边移,并指出你达到每一点的顺序。
我将使用“黑客”方案确定地图西南部的一些地点与每一点之间的距离。 这里与C#和Sql服务器的一些代码挂钩,以便做这件事。
http://www.storm-consultancy.com/blog/development/code-snippets/the-haversine-formula-in-c-and-sql/
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...