https://github.com/agrc/locate
Utah Economic Development Map
https://github.com/agrc/locate
billable government-app terraform-managed website
Last synced: 2 months ago
JSON representation
Utah Economic Development Map
- Host: GitHub
- URL: https://github.com/agrc/locate
- Owner: agrc
- Created: 2014-12-04T16:54:50.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T17:59:00.000Z (9 months ago)
- Last Synced: 2025-01-18T06:26:19.026Z (9 months ago)
- Topics: billable, government-app, terraform-managed, website
- Language: JavaScript
- Homepage: https://locate.utah.gov
- Size: 12.3 MB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Broadband Economic Development
[](https://github.com/agrc/locate/actions/workflows/push.yml)
Production URL: [locate.utah.gov](https://locate.utah.gov)
Staging URL: [locate.dev.utah.gov](https://locate.dev.utah.gov)[User Stories](https://docs.google.com/a/utah.gov/document/d/1OsXuQaPs9DkRke6lsi1HiD7dWLRLVjrcKL1rO51KuQk/edit)
[Layers Spreadsheet](https://docs.google.com/a/utah.gov/spreadsheets/d/1CqW3iXKG36D5Hd9m2gOqUtbJC44PWFsySogWJ49sjSE/edit#gid=0)
## Python Script
### [🚜 Pallets](https://github.com/agrc/forklift)
[Dependency Installation](/scripts/readme.md)
`scripts/locate_pallet.py` updates and processes data for this app via
### GP Scripts Deployment
1. Publish `maps/MapService.mxd` as `BBEcon/MapService`
1. Publish `scripts/Toolbox.tbx/Generate Report` as `BBEcon/GenerateReport`
- Test point: `x: -12452500, y: 4979214`
- Synchronous### Updating TaxEntities Contact Data
1. Update table in `bbecon-static.gdb`
1. Delete `economy.gdb\TaxEntities20**` so that the join will be triggered on next forklift run.### Incrementing TaxEntities20\*\* Data Year
1. [Update `locate_pallet.py` and `scripts/settings_ib/__init__.py`](https://github.com/agrc/locate/commit/675fe46ae5c358d961fd5933ce925043c7d860b1).
- `__init__.py` will need to be updated on both mapserv machines.
1. Delete old feature class in `hashing/bbecon.gdb` and `hashing/economy.gdb`
1. `forklift special-delivery locate_pallet.py`
1. Update layer in `maps/MapService.mxd` and republish.### Updating Historic Enterprise Zone Layers
1. Update definition queries in `maps\Maps.aprx\MapService`.
- `Historic1` is current year minus one. `Historic2` is current year minus two and so forth.
- For years 2018+ the data is contained in SGID (`ECONOMY.EnterpriseZones`) and individual years can be queried using the `EXPYR` field (e.g. for 2020: `EXPYR NOT IN ('2018', '2019')`).
1. Update labels in `lib/app/templates/EnterpriseZones.html`| Year | Layer | Query or Dataset |
| ---- | --------------- | ----------------------------------- |
| 2024 | EnterpriseZones | `EXPYR = '2024'` |
| 2023 | EnterpriseZones | `EXPYR IN ('2023', '2024')` |
| 2022 | EnterpriseZones | `EXPYR IN ('2022', '2023', '2024')` |### Updating data in `bbecon-static.gdb`
1. Update the relevant data in `C:\forklift\data\static\bbecon-static.gdb` on the forklift machine.
1. Delete `bbecon-static.gdb\PolygonData` so that it gets rebuilt on the next forklift run.## :robot: Dependabot
- `uglify-js` greater than `3.17.4` breaks `npm run build:prod`. Last checked with `3.19.3`