How to edit features in a shape file ?

1025
3
06-28-2018 02:22 AM
VijitWadhwa
New Contributor III

Does Arcgis Runtime sdk for wpf, provide any way to store the static feature collection in a shape file ? or any other provision of storing and editing features to a file(GeoJson,shapefile,CSV) maybe, as the editing section in documentation talks about sync enabled geodatabase and online editing , but my requirement is a complete offline environment , so can the static feature collection help?

0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor

If you are using v100.2.+, you can use ShapefileFeatureTable to create/update/delete features. This inherits from FeatureTable so methods include CreateFeature, Add/Update/DeleteFeature(s)Async. You can create a FeatureLayer with this table. Is this what you are looking for?

0 Kudos
VijitWadhwa
New Contributor III

Yes sir , I am looking for such kind of help . . Can u help me with some

kind of sample code ?

0 Kudos
JenniferNery
Esri Regular Contributor

You might want to check out this guide doc for editing to help get you started. For shapefile, you're limited to updating feature geometry and attributes, no feature attachments so you can ignore that part of the guide doc. There are other samples here which you might be interested in.