Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division of Drinking Water Lead Service Lines App #412

Open
1 of 2 tasks
ZachBeck opened this issue May 30, 2024 · 14 comments
Open
1 of 2 tasks

Division of Drinking Water Lead Service Lines App #412

ZachBeck opened this issue May 30, 2024 · 14 comments
Assignees
Labels
carry forward This task was carried forward into the next quarter paying This issue earns $$

Comments

@ZachBeck
Copy link
Member

ZachBeck commented May 30, 2024

Benefit

The ability to view service line locations with dashboard elements for service line inventory submitted through DDW LCRR portal.

Acceptance Criteria

  • ETL data from DDW service line inventory database
  • Create web maps and dashboards to visualize service line data.

Notes

DPR-1081
Project SOW

Risks

No response

Issue Reference

refs #

@ZachBeck ZachBeck self-assigned this Jun 3, 2024
@nathankota nathankota added the status: waiting Typically waiting on the business owner label Jul 16, 2024
@ZachBeck
Copy link
Member Author

Waiting to start.

@jacobdadams
Copy link
Member

25.1.3

Met with Atie Amirgol (DEQ) and Jeff Mobey (DTS) on 8 Aug. Jeff will be creating a database of the records and will provide a view that will be the source of truth for the map data. This view will always have lat/longs (either provided by the submission or geocoded through the API).

Jeff hopes to get the db up by the end of Q1. Once it's up, we'll have a consistent schema through the view so we can create a feature service and start work on the map/app.

After the DB is up, I will work with Jeff to set up a cloud function that can be triggered by webhook so that whenever a record gets added to the DB it calls the webhook on the function to add the new data to the feature service (probably just by doing an on-demand truncate and load operation). This will be started end of Q1/beginning of Q2.

@ZachBeck ZachBeck added the paying This issue earns $$ label Sep 2, 2024
@jacobdadams
Copy link
Member

jacobdadams commented Sep 11, 2024

25.1.6

Met with Atie and Jeff again on 11 Sept to go over the data needed for the map. Jeff is finalizing the data and preparing a view for us to connect to.

Atie wants a map where you can click on a point and get a couple pieces of information for that line:

  • System name
  • PWSID
  • address
  • material classification
  • material for both system- and customer-owned segments
  • basis of material classification for both system- and customer-owned segments
  • field verification method

We will need to modify field display names and do some arcade to collapse some of the categories in the material fields into groups.

She would also like a way to search/pan/zoom to a specific system.

We also discussed adding DNR's CulinaryWaterServiceAreas layer and pulling in a field from a google sheet to indicate which systems have a "no-lead" status completely. This would be done with a scheduled palletjack update from the sheet. We'll need more discussion on the symbology of this layer and which systems to show/not show.

Atie would like a map in place by the 16th of October. I told her we could probably get a web map up with static data by then but won't be able to get the auto updates wired in.

Next Steps:

  • Reach out to Jeff to get access to the database view he's creating for us.
  • Reach out to Atie to get access to google sheet for overall system status.

@jacobdadams
Copy link
Member

jacobdadams commented Sep 30, 2024

25.1.6 pt2

Met with Jeff and Atie on 27 Sept to discuss next steps.

  • Jeff will provide us with a csv dump of the data so we can get working on the initial map
  • Jeff will create an API for us to hit to access the data (because the skid will run in GCP, providing direct, IP address-based access through the firewall will be tricky, and the API will be easier).
  • Atie will share the sheet with the project area-specific data with Zach and Jake

@steveoh
Copy link
Member

steveoh commented Sep 30, 2024

  • (because the skid will run in GCP, providing direct, IP address-based access through the firewall will be tricky, and the API will be easier)

This might be a good use case for apigee if you want to discuss it with Ben to see if it can simplify things for everyone.

@jacobdadams
Copy link
Member

I think he might be using it already. Jeff mentioned there was a push to get things on apigee, but the context of the discussion almost made it sound like "but I don't want to use it for this."

@jacobdadams
Copy link
Member

25.2.1

Still waiting on API from Jeff. Got updated data for map that Zach is working on.

@ZachBeck
Copy link
Member Author

@ZachBeck
Copy link
Member Author

ZachBeck commented Nov 4, 2024

Updated water service polygons added and indicator box values are now static rather than returning values of extent as per Atie's request 11/4.

@jacobdadams
Copy link
Member

25.2.3

Trying to merge their system review spreadsheet to DWRe's Culinary Water Service areas. There are PWS IDs on the spreadsheet that aren't in the service areas layer. I'm guessing most of these are smaller system, but the Municipal Water District of Salt Lake and Sandy is not represented in the areas; instead, both cities have their own separate layers. If we want to get this working, we'll need to work out these discrepancies and figure out a way to crosswalk the larger systems that are supersets of other systems.

@jacobdadams
Copy link
Member

jacobdadams commented Nov 26, 2024

25.2.4

Got access to dev DB api via GraphQL, working on way to connect through python and dataframes.

Met with Atie and figured out that the missing PWS polygons are not needed, so we can continue to use their sheet matched up with DWRe's polygons to show the system boundaries.

@jacobdadams
Copy link
Member

25.2.5

Got a rough draft of GraphQL loader and started work on GSheet loader for pulling data from these two sources.

@jacobdadams
Copy link
Member

25.2.6

Nearly finalized skid, just waiting on DTS to figure out why we're getting random amounts of NULL values in certain columns. We're close.

@jacobdadams jacobdadams added carry forward This task was carried forward into the next quarter and removed status: waiting Typically waiting on the business owner labels Dec 23, 2024
@ZachBeck
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carry forward This task was carried forward into the next quarter paying This issue earns $$
Projects
Status: No status
Development

No branches or pull requests

4 participants