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

查看:40
本文介绍了如何使用 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?

我在这里看到了一些关于类似方法的有趣内容:如何在 iOS 地图上处理大量数据.但它适用于原生 iOS.

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.

非常欢迎任何建议;)

推荐答案

您可能想看看新的 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天全站免登陆