如何使用QML/QtLocation模块在地图上显示大量离线数据? [英] How to use the QML/QtLocation module for displaying a large amount of offline data on a map?

查看:706
本文介绍了如何使用QML/QtLocation模块在地图上显示大量离线数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用QML及其新的QtLocation模块(> = Qt5.4)创建脱机的Slippy Map.我很容易地显示了具有离线缓存的磁贴. 现在,我想向该地图添加自定义数据(约7000个机场的列表). 必须根据缩放级别对这个庞大的列表进行聚类(出于性能和可读性的考虑,除非QtLocation具有内置的优化" ..?.

I'm in the process of creating an offline Slippy Map using QML and their new QtLocation module (>=Qt5.4). I managed quite easily to display the tiles with an offline cache. Now I would like to add custom data to this map (a list of ~7000 airports). This huge list would have to be clustered depending on the zoom level (for performance and readability reasons, unless the QtLocation has built-in "optimizations"..?.

实现此目标的最优雅/最好的方法是什么,并尽可能接近Qt/QML API?

What would be to most elegant/best way to achieve this, staying as close as possible to the Qt/QML APIs?

我在这里看到了一些有关类似方法的有趣信息:

I saw some interesting stuff about a similar approach here: How to handle large amounts of data on iOS Maps. But it's for native iOS.

任何建议都非常受欢迎;)

Any advice is very welcome ;)

推荐答案

您可能想看看新的ESRI QT Api.它是为处理庞大的数据集而设计的,您可能会找到合适的方法. 这是一种商业选择,因此其可行性确实取决于您的用例和预算.免费的基本"许可证可能就足够了.

You might want to take a look at the new ESRI QT Api. It is made to deal with huge datasets, you might find something suitable. It is a commercial option, so its viability really depends on your use case and budget. The "Basic" license, which is free, might be enough for you.

https://developers.arcgis.com/qt/

这篇关于如何使用QML/QtLocation模块在地图上显示大量离线数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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