Display soundings on a map using ArcGIS WPF 10.2.2

2883
3
05-16-2014 04:55 AM
Labels (1)
EugenReiswich
New Contributor
Hi folks,

we try to figure out how to display soundings (water depth) using ArcGIS WPF 10.2.2 Beta. The result should look similar to this: [ATTACH=CONFIG]33867[/ATTACH]

What we've got is a waterDepth.xyz-file which contains X/Y-coordinates and corresponding soundings. Example:
POINT(10.181521 53.396933), -3.605517

As we understand the above line means: at the given X/Y-location the water is 3.605517 meter deep.

We've been studying this example: PointDataSource but we are not sure if we are following the right track. Moreover, we couldn't find any PointDataSource in ArcGis WPF 10.2.2 beta.

Any ideas would be very appreciated.

Regards,
Eugen
0 Kudos
3 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

Because you mention using the 10.2.2 beta, I assume you mean the ArcGIS Runtime SDK for .NET? It sounds like you are on the right track, you should look at the GraphicsSource property of the GraphicsLayer. You just need to implement a class which exposes a collection of Graphic objects. There is a sample available: arcgis-runtime-samples-dotnet/src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLaye...‌. Or alternatively just create a collection of Graphic objects and use the AddRange method to add those to the GraphicsLayer.

Also note the 10.2.3 beta is available - ArcGIS SDK for .Net | ArcGIS for Developers

Cheers

Mike

0 Kudos
EugenReiswich
New Contributor

Hi Mike,

thanks for this hind. We tried to add up to 1.000.000 Graphics to our GraphicsLayer but are struggling with rendering performance right now. We hope to improve the performance using clustering. But as posted in this tread we are not able to find the former cluster possibilities in ArcGis Runtime SDK for .NET 10.2.3. Have you got any ideas on this?

Cheers,

Eugen

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

I forgot to say in the previous reply - the ArcGIS Runtime SDK for .NET is still in beta - please post your questions in the beta forum: https://betacommunity.esri.com/home.html

Cheers

Mike

0 Kudos