cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

Publish school beacon data from Data Tracker to ArcGIS Online #7737

Closed johnclary closed 2 years ago

johnclary commented 3 years ago

Todo:

dianamartin commented 2 years ago

Started comparing the AGOL feature layer and new Knack school beacon object table

In AMD Asset Map

Created Data Comparison spreadsheet

dianamartin commented 2 years ago

@johnclary

It's looking like the data fields are more closely aligned with the data collection SZB layer than the existing one. I've synced with Allyson on 1/3 to see if she could tell if the MMC staff were using all the fields in the new SZB add/edit forms.

The existing GIS layer has the following fields that appear on the pop-up

Open Data Portal

dianamartin commented 2 years ago

Create new data set for this effort

dianamartin commented 2 years ago

Sync'd with Jorge, Ed and Billy and we were talking about something SZB related, I was able to ask them what they wanted to see on the GIS pop-up box

amenity commented 2 years ago

Discussed in planning:

dianamartin commented 2 years ago

I check w/ John yesterday - 1/12,

For the SZB API table, do I need to change the field names on the table or leave them as is?

he replied

  • you can leave the field names as-is. changing them on the table will have zero effect
  • yep, and the field names on the AGOL layer need to match the field names on the knack object: except spaces can be underscores and upper/lower case does not matter
dianamartin commented 2 years ago

Ear marked fields to be deleted due to the fact they're not being used in the Details page or Add/Edit forms.

dianamartin commented 2 years ago

I asked John on 1/14

Should I just have Jaime set up the same fields for Location Name and Lat/Long?

John said

we only need location_name. the lat/lon columns have been deprecated

dianamartin commented 2 years ago

@jaime-mckeown Here is a spreadsheet that you can use to build out that empty layer in AGOL. I have it separated by Alias, AGOL field headings, KNACK field headings and the type. Use the AGOL headings to create it, let me know if you have any questions school_beacons_API_new_20220113.csv

jaime-mckeown commented 2 years ago
dianamartin commented 2 years ago

@johnclary I confirmed the new empty feature class matches what I have in the new API table. This is ready for dev team to integrate Knack to AGOL.

chiaberry commented 2 years ago

I'm getting this error when I try upserting to agol: ValueError: {'code': 1000, 'description': 'String or binary data would be truncated.\r\nThe statement has been terminated.'}

@jaime-mckeown Could this be republished with longer field lengths? thanks in advance

alan-deanda commented 2 years ago

@chiaberry all text fields are now 1000 characters long.

jaime-mckeown commented 2 years ago

Thank you @alan-deanda for getting that done!

amenity commented 2 years ago

Thanks, @chiaberry @jaime-mckeown @alan-deanda

Should we remove these older datasets? Screen Shot 2022-02-23 at 12 19 30 PM

Also, how often should the data be updating? The description says daily but it's been 5 days. 🤔

dianamartin commented 2 years ago

@amenity Chia told me it's updating daily bc she asked me what frequency it should be and I said daily sounds about right.

chiaberry commented 2 years ago

I haven't merged the script to update daily yet. It's been approved so I will this afternoon.

amenity commented 2 years ago

Aha, that makes sense. Thanks, @dianamartin @chiaberry.

dianamartin commented 2 years ago

Will email stakeholders tomorrow 2/24, will wait until ETL is finalized. @jaime-mckeown did the new school beacons layer get added to the AMD asset map yet?

jaime-mckeown commented 2 years ago

@dianamartin this is the first I've heard that the new layer went live. I will get the maps updated.

amenity commented 2 years ago

@jaime-mckeown - will you drop a link to the AGOL map here when you're done, please? I was confused which one it is.

jaime-mckeown commented 2 years ago

@amenity there are multiple maps that have SZB data in them, I assume that you are looking for the main AMD assets map that Diana mentioned.

amenity commented 2 years ago

@jaime-mckeown - Aha, wrong terminology: I meant a link to the AGOL page for the feature layer. I assume it is this one and that the other two are obsolete?

jaime-mckeown commented 2 years ago

@amenity below is the new one, it's easier to tell now as all feature layers created via scripts from Knack are owned by the ATD Publisher Script account. https://austin.maps.arcgis.com/home/item.html?id=ebde70df086942c286dcf9f3f3449f2f

I will mark the other layers as deprecated, then remove them once I have updated the Web Maps.

amenity commented 2 years ago

@jaime-mckeown - super, thanks!

dianamartin commented 2 years ago

Just checked out the new SZB Layer that Jaime linked and spot checked known new records - Overton and Norman. They show up spatially.

Checking the AMD Asset map this morning, looks like it's still the old SZB layers. I'm going to wait for @jaime-mckeown to update the map and then I'll send that email to stakeholders today.

jaime-mckeown commented 2 years ago

Sorry @dianamartin I'm juggling a ton right now. I will ask Andrew to update so it gets done.

jaime-mckeown commented 2 years ago

@dianamartin the Assets Web Map has been updated. I will any other maps that have the SZBs as well today. https://austin.maps.arcgis.com/apps/webappviewer/index.html?id=c9bda776b1934e439285570b29d3259c

jaime-mckeown commented 2 years ago

Set the new School Zone Beacons layer as Authoritative in AGOL.

johnclary commented 2 years ago

@dianamartin plz update and close. thank you @jaime-mckeown !

dianamartin commented 2 years ago

I emailed stakeholders on 2/24

Hi all, The process to update the “school beacon zones” layer in GIS from Knack should be updating on a daily frequency now. Just letting everyone know so they can check the asset map to review and QA/QC the new changes.

  • You’ll noticed that you have more fields to reference in the pop-up box. image Let us know if there are any other changes/bugs you find.