I am doing this by the following steps:1) Stored procedure to get 1million record based on the spatial filter. and it returns "OBJECTID.Convert(varchar(mx),GEOMETRY)"2) Write WCF to call this procedure and get back the result using Datareader into List<string>3) Write a parser to parse the geometry string into ESRI.arcGIS.Client.Geometry type4) Create Graphic with symbol and the parsed geometry5) Add to the graphics layer.
Just a question...How would one visualize 1 million points? On a screen with a resolution of 1280x1024 you only have 1.3 million pixels. Assuming you used a graphic that was 1 pixel (which doesn't make much sense) and that the distribution of points was equal, that would saturate 77% of the screen?! Hardly useful.Can you explain why you need to visualize so many points at one time? It might help others offer some possible solutions.
You DO NOT want to render this client side - Cluster or not. Remember that the client will have to not only have to render them, but even worse have to download 1000000 points to the client. This is NOT going to work well.Instead this is what the server-side rendering should be used for. There's absolutely no point in rendering all these points client-side. Only render points on the client if you know that they are going to interact with them directly using mouse hover/enter/leave. There is no app where you would expect the user to be looking at all 1 million points. Instead leave them rendered at the server, and if the user wants to query information about a specific point, use the click event and then use QueryTask to get the information about that one specific element. I cover some of this and various tricks you can use in this session:http://resources.arcgis.com/gallery/video/arcgis-api-for-silverlightwpf/details?entryID=E50439B8-1422-2418-88D1-E57C811A02FE (jump to 26:29)
Sorry no. You really need a server-side component to do something like this properly. And after all this IS a client API, meaning a client to primarily ArcGIS Server. However, this might also be interesting for you: http://www.zekiah.com/index.php?q=node/146Btw as per the license requirements (just making sure you know), AFAIK if you don't own an ArcGIS Server license, the ArcGIS Silverlight API is not free to use.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.