GeoRSS or XML for adding many points

I currently use an array to populate about 120 push pins (and growing) on the map, and it appears slow, see http://www.fulhamusa.com/fusamap/membermap.html

I tried to use the AddLayer as described in the interactive SDK, but it doesn't appear to GET the data no matter what.

If someone could post a simple example with an example of the xml or georss file too that would help greatly.

Thanks



Answer this question

GeoRSS or XML for adding many points

  • vision2020

    Ok it took longer then i thought but i got my article written and via virtual earth put it up very quickly, check out:

    http://viavirtualearth.com/VVE/Articles/Clustering.ashx
    (clustering virtual earth)

    Thanks
    John

    Soulsolutions - Dotnetnuke and Virtual Earth


  • Mikaelm

    I implimented a clustering algorithm recently that allowed 100,000 points to be rendered on VE with ease. The two basics are: only render points that are visible and if two points are overlap render a "megacluster" instead. I limited my map to only ever show 200 points.
    I recommend using AJAX to add the points on demand. Channel 9 has a great article.
    http://channel9.msdn.com/ShowPost.aspx PostID=182077
    John.


  • VaraPrasad

    Not directly, but that's an interesting idea.

    Indirectly, you could parse the GeoRSS file yourself, pull the LatLongs and put them in an array, and then generate the polyline from that array.


  • JDWCLG

    Here's the GeoRSS XML file that the Interactive SDK uses for the example:

    http://dev.live.com/virtualearth/sdk/GeoRssTest.xml


  • QuinceArj

    The current GeoRSS handler just reads the file, creates the pushpin objects, and plots them all on the map for you. For any thing else you might want to do (I'd be curious what you are thinking, beyond drawing polylines), you have to parse the file yourself.


  • Michael Chroman

    Hmmm...somewhere along my browsing I've seen comments that VE is to support Simple GeoRSS soon ( ), which is an extension of the W3C Geo spec where you're constrained to simple geo:lat geo:lon points. With Simple GeoRSS, we get fun elements like georss:polygon, where the xml element text is a space-delimted array of lat lon pairs. Perhaps someone on the VE dev team can elaborate further.


  • Ricardo Rivera

    is it possible to add a polyline using georss

    This is what I have just had to implement (ironically for another MS product) and we ended up using a seperate XML documeny to store the co-ords for each poly-line to be drawn.  I simply dynamically gen the Javascript to build the polylines from my XML.  No reason I couldn't have read a GeoRSS I suppose, except we have bunch more weird stuff like Billboards and Points of interest, displaying custom Images and links etc. along a route.

    And while making this post - IE7 said the forum web site could be a phishing site



  • MalikF

    Hi Dave,
    Would it be possible for you to share an example of your xml schema with me cause I have to do something similiar - save polyline info plus some comments, POI's, Images along the route


  • kiril.stanoev

    is it possible to add a polyline using georss
  • TonyMoore

    absolutely I will share.

    I started a thread on "megaclusters" and was planning on writing it all up but didn't think anyone cared

    I'll write it up as an article and see if ViaVirtualEarth will put i up. Give me a couple of days.

    John.



  • djshades2004

    Thank you for your reply Caleb.

    So can we do anything more with georss other than plotting points


  • Marie-Thérèse

    SoulSolutions wrote:
    I implimented a clustering algorithm recently that allowed 100,000 points to be rendered on VE with ease. The two basics are: only render points that are visible and if two points are overlap render a "megacluster" instead. I limited my map to only ever show 200 points.
    I recommend using AJAX to add the points on demand. Channel 9 has a great article.
    http://channel9.msdn.com/ShowPost.aspx PostID=182077
    John.
    Would you mind sharing the clustering algorithm I am building an application that will have 20,000 to 30,000 points and that would be a big help.

    Aaron

  • MARCOSEDRALIN

    Here is a feed that I know works just fine when added as a layer to VE http://mapnut.com/calstatepark.xml

    Dave



  • GeoRSS or XML for adding many points