How can I add features to a basemap and then convert that features into geodatabase file without using online service ? I am unable to understand the exact procedure. I am working for a disconnected environment. Should i draw graphics on the map and then convert into features ? or we can directly add features and create a geodatabase?MBranscomb-esristaffakajanus-esristaffmnielsen-esristaff
Thanks in advance
It depends on what you are trying to do with this offline feature. Do you just want something you can persist offline? Or are you trying to create features that you want to send back to your enterprise geaodatabase
Have you worked through all the samples. The development team has put together a great set of sample code on-line and you can download the entire sample code from github.
Here is an example of creating an offline geodatabase
and edit and sync
Hi , sir I have gone through the sample , but in the code , it uses online
feature service to generate the geodatabase . . How can this be done
without itnernet connection , or in a complete offline mode ??
You cannot create an offline replica database in code. The database is always associated to a service and needs to initially be created from that service, either in Runtime code or directly from the ArcGIS Server Rest API [Create Replica—ArcGIS REST API: Services Directory | ArcGIS for Developers ] (the Runtime is basically a wrapper that simplifies making the API calls). Once you have this initial offline database it can then be shared. This type of approach is known as a pre-planned workflow. Once you have this offline replica the process of adding features is basically identical to adding features to a service, except the source of the table is a GeodatabaseFeatureTable instead of a ServiceFeatureTable. This sample goes through opening a offline database and adding a feature
This links gives an overview of the different patterns and some links to more detailed information
There is a FeatureCollection table which would allow you to create a table and load features into it. This is an in memory object, so can really only be as a way to store data and add to a map for a given session. There is not a way to create a database that you could store this.