Generate a offline geodtabase

2952
2
04-04-2014 04:11 AM
zijianzhu
New Contributor
Hi, I'm currently use the ArcGIS Runtime SDK for Android. I want to generate a offline geodatabase from online feature service.

I use the code of the tutorials to do this job. However, I found that several services can not be generated to local geodatabase,

such as " http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer "
    
           "http://sampleserver5.arcgisonline.com/arcgis/rest/services/EmergencyFacilities/FeatureServer"

           "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapSe... "

but some other service can be generated to geodatabase like
  
            " http://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/Wildfire/FeatureServer"

I really do not know the differences among them. I want to publish a webservice on the intranet which can be generated to local

one and it is able to be modified. Could someone help me? thanks.
0 Kudos
2 Replies
RobertBurke
Esri Contributor
Hi

When I look at the rest endpoint for the Wildfire feature service:
http://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/Wildfire/FeatureServer

And scroll all the way to the bottom, I can see the Sync and Replica Operations are available:
Supported Operations:   Query   Apply Edits   Create Replica   Synchronize Replica   Unregister Replica

The other feature services you mention only show Query and Apply Edits.
Supported Operations:   Query   Apply Edits

Please have a look at this Guide topic Create and Offline map:
https://developers.arcgis.com/android/guide/create-an-offline-map.htm

One of its topics describes 'a sync-enabled feature service' and creating one.

Please let me know if this helps get you any closer to solving the issue.
0 Kudos
zijianzhu
New Contributor
Hi

When I look at the rest endpoint for the Wildfire feature service:
http://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/Wildfire/FeatureServer

And scroll all the way to the bottom, I can see the Sync and Replica Operations are available:
Supported Operations:   Query   Apply Edits   Create Replica   Synchronize Replica   Unregister Replica

The other feature services you mention only show Query and Apply Edits.
Supported Operations:   Query   Apply Edits

Please have a look at this Guide topic Create and Offline map:
https://developers.arcgis.com/android/guide/create-an-offline-map.htm

One of its topics describes 'a sync-enabled feature service' and creating one.

Please let me know if this helps get you any closer to solving the issue.


Yes, I solved the problem, thank you 😉
0 Kudos