用C#制作GIS/GPS导航软件需要什么工具
我被指派去了解如何为Win CE 6.0操作系统制作一个GPS导航软件。但经过大量搜索后,我找不到一个好的入手方法。
我下载了一些免费软件,通过它可以查看提供的 ShapeFile 文件,但是我想制作一个软件,通过它我可以在自定义模式下查看这些文件。
我的首选技术是 .NET 3.5 / 4,我的操作系统支持 silverlight。
您可以访问 此 链接来了解我到底想要做什么。
提前致谢。
我必须处理客户提供的预定义数据集(形状文件),并且必须将我的应用程序放入 GlobalSat [GA-5718] 设备中。
你的建议很好,但对我来说不起作用。这就是为什么我处于一个困惑的境地。
I have been assigned to know to how to make a GPS Navigation Software for Win CE 6.0 operating system. But after searching a lot, I couldn't find a good way to start.
I have downloaded some free software by which i can view the provided ShapeFile files but I want to make a software by which I can view those files in my customized mode.
My preferred technology is .NET 3.5 / 4 and my OS supports silverlight.
You can visit this link what exactly I want to do.
Thanks in advance.
I have to work on a predefined data set (shape files) provided by my client and i have to put my app in GlobalSat [GA-5718] device.
Your suggestions are very fine but it won't work for me. Thats why I am in a confusing position.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,您需要访问 GPS 数据并读取它。大多数 GPS 模块在某些 COM 端口上充当串行设备,并在 NMEA 标准中提供其信息。
为了轻松阅读此内容,您应该查看 OpenNETCF 串行库,因为它提供了对信息并能够读取 NMEA 字符串。
但大多数 GPS 调制解调器需要通过发送正确的 NMEA 输入字符串来初始化。对于这些,您应该查看此文档,此网站 或 在上述函数
public bool SendGpsMessage(string GPSSentence)
源代码的注释中。有了这些信息,您应该有一个正确读取 GPS 数据的良好起点。向用户可视化这些信息(如显示当前位置的地图)是另一项任务。但 maps.google.com API 可能是一个候选方案,如果您的软件在具有互联网连接的计算机上运行,并且您不介意此连接的费用。
At first you'll need to get access to the GPS data and read it. Most GPS modules act as a serial device on some COM port and provide their information in the NMEA Standard.
To get this easily read you should take a look at the OpenNETCF Serial Library, cause it provides an easy access to the informations and is able to read the NMEA strings.
But most GPS modems needed to be initialized by sending a correct NMEA input string. For these you should take a look into this documentation, this site or in the comment in the source above function
public bool SendGpsMessage(string GPSSentence)
.With these informations you should have a good starting point to correct read in the GPS data. Visualization of these informations to the user (like showing a Map with the current position) is another task. But maps.google.com API would be a possible candidate if you software runs on a machine with internet connection and you don't mind the costs for this connection.
您问这个问题的事实强烈表明您没有资源或能力从头开始编写它(这是一个重要的项目)。因此,您将必须使用现有的工具包。您提到了 Silverlight,所以我怀疑您将在在线环境中工作。因此我推荐 Bing Maps Silverlight Control。恕我直言,这目前优于谷歌地图控制 - 但它是一个移动目标。这是一个激烈的竞争导致两种产品(Google 地图和 Bing 地图)不断试图超越对方的地方。
如果这是用于商业应用程序,则检查这些服务的 EULA - 尽管许多爱好者认为它们是免费的,但事实并非如此。大多数商业应用程序的成本很高(每月 1000 美元)。在这种情况下,服务的选择可能会取决于成本而不是技术。
The fact that you are asking this question strongly suggests you do not have the resources or ability to write it from scratch (it is a substantial project). Therefore you will have to use existing toolkits. You mention Silverlight, so I suspect you are going to be working in an online environment. Therefore I would recommend the Bing Maps Silverlight Control. IMHO, this outperforms the Google Maps control at the moment - but it is a moving target. This is a place where active competition results in two products (Google Maps & Bing Maps) constantly trying to out do each other.
If this is for a commercial application, then check the EULAs for these services - although many enthusiasts assume they are free, this is not necessarily the case. Most commercial applications cost significant sums ($1000s per month). In such a situation, the choice of service will probably come down to cost rather than technology.