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.
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.
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.
Hi Chax,
Have you tried to use ShapefileWorkspace Class. Also for the sub layer source, I think, MapSublayerSource could be used.
ShapefileWorkspace Class
A shapefile workspace can be used to create a SublayerSource that displays the data from a shapefile.
Hope that helps.
Nagma
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.