(bing)地图:+5000点 [英] (bing) maps: +5000 pinpoints

查看:64
本文介绍了(bing)地图:+5000点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用silverlight bing maps控件构建一个地图应用程序.

I am building a map application with the silverlight bing maps control.

在地图控件中,我想显示所有订阅的客户. 客户数量介于5000到7000之间,这意味着我无法一次显示所有客户.我猜这会导致崩溃.

In the map control I want to show all of the subscribed customers. The amount of customers is somewhere between 5000 and 7000, this means I can't show them all at once. This would result in a crash I guess.

您将如何解决此问题? 我已经阅读过有关缩放级别的事件,例如有关空间sql的图块层的事件 但我不知道在这种情况下什么是正确的解决方案以及从哪里开始.

How would you solve this issue? I've read about events on zoomlevels etc. about tile layers about spatial sql but I have no idea what the right solution is in this situation and where to begin.

在使用地图时,这似乎是一个非常基本的问题,但在使用bing地图时如何处理大量数据的信息很少甚至没有.

This seems like a pretty basic problem when working with maps but there is little to no information on how to handle lots of data when working with bing maps.

任何人都可以向我解释或指出一个好的教程吗?

Can anyone explain or point me to a good tutorial?

推荐答案

您可以使用空间填充曲线或空间索引来将这些点嵌套在地图应用程序的缩放级别中,以实现聚类效果 http://blog .notdot.net/2009/11/Damn-Cool-Algorithms-带有四叉树和希尔伯特曲线的空间索引. sfc和hilbert曲线有很多实现.我已经在phpclasses.org(hilbert-curve,bsd许可证)上上传了自己的文件,并使用了用于群集功能的四键功能.我已经为某些客户成功实现了它.这个想法是从左到右搜索一个四键,只得到一部分pois. www.maptiler.org使用带有Z曲线的四键.可能您在gis.stackexchange上获得了更好的答案.证监会通常具有2的幂约束.

You can use a space-filling-curve or a spatial-index to get those points nested with the zoom-level of your map application to achieve a cluster effect http://blog.notdot.net/2009/11/Damn-Cool-Algorithms-Spatial-indexing-with-Quadtrees-and-Hilbert-Curves. There are many implementation of sfc and hilbert-curves. I've uploaded my own at phpclasses.org (hilbert-curve, bsd licence) and with a quadkey function for a cluster function. I've succesful implemented it for some customers. The idea is to search for a quadkey from left to right to get only a portion of pois. www.maptiler.org uses a quadkey with a z-curve. Probably you are getting better answers at gis.stackexchange. A sfc has usually a constraint of power of 2.

这篇关于(bing)地图:+5000点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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