I found the sample code of feature layer from shapefile in Feature Layer from Shapefile | ArcGIS for Developers . But I noticed the ShapefileTable class does not exist in ArcGIS runtime SDK for .NET 100.1.0. Could someone provide solution to solve the issue as subject? Thank you.
Solved! Go to Solution.
The shapefile table is planned to be added in v100.2 (although this is work in progress so not 100% guarantee although it's definitely our intent!).
Until then, you will need to use the local server to load shapefiles.
Hi Chax,
Have you tried to use ShapefileWorkspace Class. Also for the sub layer source, I think, MapSublayerSource could be used.
A shapefile workspace can be used to create a SublayerSource that displays the data from a shapefile.
Hope that helps.
Nagma
Hi Nagma,
Thanks for your information. I think it is the solution to load layer from shapefile. But I am beginner of ArcGIS runtime SDK. The usage of ShapefileWorkspace class seems need to control local server as sample code of https://developers.arcgis.com/java/latest/sample-code/dynamic-workspace-shapefile.htm . It is more complex than the solution of using ShapefileTable class of ArcGIS runtime SDK for .NET 10.2.7. I am studying and trying about ShapefileWorkspace. I am update the result later.
The shapefile table is planned to be added in v100.2 (although this is work in progress so not 100% guarantee although it's definitely our intent!).
Until then, you will need to use the local server to load shapefiles.
Hi Morten,
Thanks for your information.