generateGeodatabase method

GenerateGeodatabaseJob generateGeodatabase({
  1. required GenerateGeodatabaseParameters parameters,
  2. required Uri pathToGeodatabaseFileUri,
})

Returns a job to generate and download a geodatabase from an ArcGIS feature service.

If the ArcGISEnvironment.serviceCurveGeometryMode is set to ServiceCurveGeometryMode.trueCurveClient the generated geodatabase will include true curve geometries.

Additionally, if the result is a sync-enabled geodatabase and the feature service supports preserving true curves in geodatabase replicas the generated geodatabase will have Geodatabase.isTrueCurveClient set to true.

Parameters:

  • parameters — The parameters for generate geodatabase.
  • pathToGeodatabaseFileUri — a path including a new filename where the downloaded geodatabase is written to.

Return Value: Returns a job to generate a geodatabase into the specified filename. The filenames should end in .geodatabase.