A proxy service that impersonates an Esri locator using UGRC data and web services. Use the following URL in Esri products anywhere you would use a geocode service.
https://masquerade.ugrc.utah.gov/arcgis/rest/services/UtahLocator/GeocodeServer
Name | Dataset | Search Field |
---|---|---|
Utah House Districts 2022 to 2032 | political.house_districts_2022_to_2032 |
dist |
Utah School Board Districts 2022 to 2032 | political.school_board_districts_2022_to_2032 |
dist |
Utah Senate Districts 2022 to 2032 | political.senate_districts_2022_to_2032 |
dist |
Utah US Congress Districts 2022 to 2032 | political.us_congress_districts_2022_to_2032 |
district |
Utah Address Points | location.address_points |
name |
Utah County Boundaries | boundaries.county_boundaries |
name |
Utah Municipal Boundaries | boundaries.municipal_boundaries |
name |
Utah ZIP Code Areas | boundaries.zip_code_areas |
zip5 |
Utah GNIS Place Names | location.gnis_place_names |
name |
Give Masquerade's awesome searching capabilities a try in this simple web app.
✅ Find Address Candidates
✅ Geocode Addresses
✅ Suggest
Reverse Geocode has not been implemented. Let us know if you are interested in this feature!
If you are looking for a way to quickly navigate your map to Utah addresses or points of interest within ArcGIS Pro, Masquerade can help. By adding UGRC's "Utah Locator (Masquerade)" (hosted in ArcGIS Online) to your project it becomes available to use within the Locate pane. To accomplish this, follow these steps:
123 S Main Street, Holladay
).You should see typeahead suggestions from all of the Open SGID tables above. Here are a few examples:
Once Masquerade has been added as a locator to your project, you can also use it as an input address locator with the Geocode Addresses geoprocessing tool for batch geocoding of address data. This makes Masquerade an easier alternative to the Geocoding Toolbox.
Masquerade can be used to power the search widget in Web AppBuilder or Experience Builder. To configure, use the following URL as the "Geocoder URL" (WAB) or "Locator URL" (EB) value in the search widget settings:
https://masquerade.ugrc.utah.gov/arcgis/rest/services/UtahLocator/GeocodeServer
If you are not already using Esri products, you likely want to check out the Official UGRC API Client. This is a streamlined, stand-alone desktop application that requires no Esri products or licenses.
python -m venv env
source env/bin/activate
(On Windows: .env\Scripts\activate
)pip install -e ".[tests]"
.env
(using .env.sample
as a template) and populate the WEB_API_KEY
variable with a newly created api key. Use type: browser
and referer: masquerade.agrc.utah.gov
.brew install mkcert
mkcert -key-file key.pem -cert-file cert.pem localhost 127.0.0.1 10.211.55.2
10.211.55.2
is the default ip for the Parallels host machinemkcert -install
rootCA.pem
and rootCA-key.pem
from the directory that is the output of mkcert -CAROOT
set CAROOT=<pasted directory> && mkcert -install
on the VM (windows terminal works better than a console emulator)choco install mkcert
mkcert -install
mkcert -key-file key.pem -cert-file cert.pem localhost 127.0.0.1
Create dev
and prod
environments in GitHub repo.
Create repo-wide secrets:
WEB_API_KEY
CODECOV_TOKEN
create secrets in github for each environment
PROJECT_ID
github-actions-secrets-[prod/dev].txt
(output from terraform)python -m pytest
ruff check .
./run.sh
(macOS) or run.bat
(Windows)
Here is a web app that is pointed at https://localhost:5000/
that can be used for testing.
When changes are pushed to either the main
(production) or staging
branches, the project is automatically built and deployed to the appropriate GCP project (pending passing tests).