+
Skip to content

agrc/locate

Repository files navigation

Broadband Economic Development

Push Events

Production URL: locate.utah.gov Staging URL: locate.dev.utah.gov

User Stories

Layers Spreadsheet

Python Script

Dependency Installation

scripts/locate_pallet.py updates and processes data for this app via

GP Scripts Deployment

  1. Publish maps/MapService.mxd as BBEcon/MapService
  2. 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
  2. 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.
    • __init__.py will need to be updated on both mapserv machines.
  2. Delete old feature class in hashing/bbecon.gdb and hashing/economy.gdb
  3. forklift special-delivery locate_pallet.py
  4. 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')).
  2. 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.
  2. Delete bbecon-static.gdb\PolygonData so that it gets rebuilt on the next forklift run.

🤖 Dependabot

  • uglify-js greater than 3.17.4 breaks npm run build:prod. Last checked with 3.19.3
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载