移动最近位置计算 [英] mobile- nearest location calculation

查看:86
本文介绍了移动最近位置计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要做一个与手机号码位置映射有关的项目.
在这里我想做一个模拟,
我有一张小地图在绘制,我以我的位置为小点.并且我还假设其他一些类似酒店,医院的位置作为我地图上的一个小点.我还将我和他人之间的距离存储在数据库中.
当我从特定医院收到消息时,该地图会以图形方式显示哪家医院发送消息,并显示我与该医院之间的距离.

如何在C#.NET中做到这一点?
请立即回复.........

解决方案

此处是您的操作方法:
1)设计
2)代码
3)测试

您的问题过于模糊和笼统,无法给出具体答案.你有什么问题?数据库?映射?最小距离计算?建立使用者介面? . .


给出医院和手持电话的人的坐标,计算两者之间的直线距离是简单的数学运算.但是我感觉到这不是您想要的.您可能会询问行驶距离.确定行驶距离意味着您还将确定可接受的路线.路径查找算法本身具有专门的问题类型.


尝试使用Google地理编码库,您将不得不为.Net重写它们.

hi, I am going to do a project related to location mapping of mobile number.
here i want to do a simulation like ,
I have a small Map drawn by me.In that I assume my location as Small point. and i also assume some other like hotels ,hospitals location as a small point in my map .I also store the distances between me and Others in my database.
When i receive a message from a particular hospital,then the map shows graphically Which hospital send a message and also show the distances between me and that hospital.

how can i do this in C#.NET?
plz reply immediately.........

解决方案

Here''s how you do it:
1) Design
2) Code
3) Test

Your question is too vague and broad to give a specific answer. What are you having problems with? databases? mapping? least distance calculations? building a UI? . . .


Given the coordinates of a hospital and the person holding the phone calculating the straight-line distance between the two is simple math. But I get the feeling that''s not what you are looking for. You may be asking for the driving distance. Determining the driving distance implies you will also be determining an acceptable path to take. Path finding algorithms area specialized problem type of their own.


Try googles Geo Code libraries, you will have to rewrite them for .Net


这篇关于移动最近位置计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆