The spatial mapping component to the Watershed Restoration Initiative
Production: wri.utah.gov
Staging: wri-stage.at.utah.gov
- Duplicate
.env.exampleas.env.localin the root directory and fill in the required values - See
functions/README.mdfor instructions on setting up the Firebase Functions
This is required for the export to PDF functionality. We need our own service to support custom layouts. Follow the instructions in Esri's documentation to create the service.
- The Pro project is in
/maps - The Pro project requires Pro 3.5 or higher (other wise some of the map surround elements, such as the scale bar, will be dropped)
- Leave the service set to
asynchronous
After the service has been published, you can update the layout by exporting the Layout to Layout.pagx (overwrite) in the ArcGIS Server directory (e.g. arcgisserver\directories\arcgissystem\arcgisinput\WRI\ExportWebMap.GPServer\extracted\cd\layouts). No need to republish the service.
-
secret DATABASE_INFORMATION needs to be accessible with
{ "user": "", "password": "", "instance": "" }
Warning
This project is currently using NPM. If it is switched to PNPM, then we will need to coordinate with DTS to update the deployment pipeline in Jenkins.
This project was developed with the assistance of GitHub Copilot.