Open mddilley opened 1 year ago
I think this is a great idea. I would love to see us rely on the geometry column to store the geometry and to access intrinsic data from that geometry through postGIS functions, like st_x()
, st_centroid()
, etc. This same idea can be applied to our crashes and afd data as well.
In Refinement, we discussed the need to ask the VZ team, and makes sure that we know what columns would be missed on their end.
Also, created a related Issue #14719 to get to the larger denormalizing of lat and long.
Migrating the triggers in this table to the LDM raised some concern about denormalized columns like
latitude
,longitude
, andgeometry
(which holds a point comprised of the lat/lon). It would be great to research how and why these columns exist and if we can update the ETL, trigger, and table to have fewer columns. We could also use generated columns over triggers if needed. See https://github.com/cityofaustin/atd-vz-data/pull/1308 and the snippet below for more affected columns.We should check on what columns may exist in end user and app queries before making changes here.