DownloadGDB

Titleā€ƒ DownloadGDB

Summary

This geoprocessing script accepts an input json string and returns a zipped GDB file. The correctly formed json string can specify a main layer and related tables / layers.


Usage

The purpose of this geoprocessing tool is to support custom download to GDB buttons in apps across the agency. The first experience builder app to use this tool is the Flood Dashboard App.


Syntax

Parameter Explanation
inputJson

This is the key input parameter for this geoprocessing script.The json structure that the script is expecting contains two main sections, mainLayer and relatedLayers.mainLayer contains the data about the main data source for the gdb. This section will contain fields and features.relatedLayers is an array of related layers or tables. These data objects also contain fields and features, but also contain a relationshipProperties object that describes the relationship between the main layer and the related layer (like the cardinality, key field, etc.).

Code Samples

Tags

GDBDataDownload, DataDownload, Zip, GDB, Download

Credits

SFWMD Geospatial Services


Use limitations