Closed johnclary closed 2 years ago
Started comparing the AGOL feature layer and new Knack school beacon object table
School Zone Beacons
- feature layeratd_school_flashers_production
- point layerIn AMD Asset Map
Traffic Signal Assets
Assets - Austin Transportation Arterial Management
Created Data Comparison spreadsheet
@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.
school_beacon_OLD
school_beacon
objectThe existing GIS layer has the following fields that appear on the pop-up
Open Data Portal
School Zone Beacons
data set Create new data set for this effort
school_beacons
objectSync'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
Discussed in planning:
school_beacons
API tableschool_flashers
API table -
BACKUP_school_beacons_API_20220112
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
Ear marked fields to be deleted due to the fact they're not being used in the Details page or Add/Edit forms.
SZ ID
Beacon ID Short
is sufficient bc it requires 2 digits like (ex. 00
)School Zone Beacon ID
is txt formula that comes from SZ tableSchool Zone Name
is txt formula that comes from SZ tableSZ Status
Name` is txt formula that comes from SZ tableSchool Name
is txt formula that comes from SZ tableI 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
@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
@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.
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
@chiaberry all text fields are now 1000 characters long.
Thank you @alan-deanda for getting that done!
Thanks, @chiaberry @jaime-mckeown @alan-deanda
Should we remove these older datasets?
Also, how often should the data be updating? The description says daily but it's been 5 days. 🤔
@amenity Chia told me it's updating daily bc she asked me what frequency it should be and I said daily sounds about right.
I haven't merged the script to update daily yet. It's been approved so I will this afternoon.
Aha, that makes sense. Thanks, @dianamartin @chiaberry.
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?
@dianamartin this is the first I've heard that the new layer went live. I will get the maps updated.
@jaime-mckeown - will you drop a link to the AGOL map here when you're done, please? I was confused which one it is.
@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.
@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?
@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.
@jaime-mckeown - super, thanks!
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.
Sorry @dianamartin I'm juggling a ton right now. I will ask Andrew to update so it gets done.
@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
Set the new School Zone Beacons layer as Authoritative in AGOL.
@dianamartin plz update and close. thank you @jaime-mckeown !
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. Let us know if there are any other changes/bugs you find.
Todo:
apps
]apps
,geo
]apps
]dev
]