How to create a feature layer or Mapview by import csv file

616
2
08-08-2018 11:37 PM
TabassumPervez
New Contributor

Hello Everyone,

can we create  feature layer via importing  csv file in latest .net  runtime sdk 100.3.0.0  for wpf. 
if yes then How?
as in 10.2.7.0  .net  runtime sdk  they use csv layer. But I think It is missed in 100.3.0.0.

or i m unable to reach.

please provide any possible solution.

Appreciated.

0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

There is currently no specific CSV layer type in the API. Instead you can use a FeatureCollection to include the layer within your map, or alternatively use a GraphicsOverlay to include in the map view but outside the map (i.e. if you save the map, feature collections are included but graphics overlays are not).

For examples/samples see:

Create a new feature collection layer—ArcGIS Runtime SDK for .NET Samples | ArcGIS for Developers 

Create a feature collection layer from a portal item—ArcGIS Runtime SDK for .NET Samples | ArcGIS fo... 

Add graphics (SimpleRenderer)—ArcGIS Runtime SDK for .NET Samples | ArcGIS for Developers 

Cheers

Mike

0 Kudos
TabassumPervez
New Contributor

Thanks Mike .
But I look into those references but don't find it useful until
there is any way to upload csv file.
Is there any exact way to upload a csv file in latest 100.3.0.0 runtime sdk for .net wpf and to extract information from csv file.
because as 10.2.7.0 sdk there is no layer exist as "csvLayer" class.
so could you please assist me on the csv file upload and extract info from the same .
thanks.

0 Kudos