构建以地理为中心的应用程序:我应该知道什么?
我期待构建一个严重依赖地理数据的应用程序。
该应用程序将使用 HTML5 的功能来获取 GPS 数据,并进行计算,例如查找最近的街道、查找两点之间的最短路径等。我正在考虑使用 Google 地图等平台,因此很可能会这样编写在 JavaScript 中。但是,我可能会通过在服务器端执行繁重的计算(可能使用 C++ 或脚本语言)来减轻客户端 CPU 的负载。
在开始编码之前,有什么技术、框架、标准等我应该了解的吗?
I am looking forward to build an application that relies heavily on geographic data.
The application will use HTML5's ability to get GPS data and will do computations such as finding the nearest street, finding the shortest path between 2 points, etc. I was thinking of using a platform such as Google Maps, so it will most likely be written in Javascript. However, I might off load the client's CPU by doing the heavy computations server side (possibly in C++ or a scripting language).
Is there any technology, framework, standard, etc. that I should know about before I start coding?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
许多基于 SQL 的关系数据库都具有空间意识,可以帮助处理 GPS 坐标。
MySQL 的空间扩展就是一个例子。 这是一篇关于它的文章。我认为如果您可以将 GPS 数据转换为空间相关字段,那么您可以执行诸如选择距离另一行最近的行或第一行偏北的行之类的操作...
Many SQL based relational databases have spatial awareness that can help with GPS coords.
MySQL's spatial extensions are one example. Here is an article on it. I gather if you can convert GPS data to spatially related fields then you can do things like select the nearest row to another or the first northerly row ...
确保了解预测和地理基准校正。显然,你如何做到这一点取决于你对技术的选择,但如果你不理解这些问题,它们就会给你带来严重的影响。
Make sure to understand projections and geographic datum correction. How you do it will depend on your choice of technologies, obviously, but if you don't understand those issues they will bite you badly.
您可以找到我对 Google Maps API 的热情评论 这里。
You can find my glowing review of the Google Maps API here.