Closed SashaWeinstein closed 2 years ago
@SashaWeinstein this is my fault but I left in the two echo statements in the config.sh file that throw the 404 error, do you want me to pull down the branch and remove these + commit the changes?
That would be great Max! Good catch
@SashaWeinstein not sure if this was on your radar in the run you posted around line 29 in the third step there is error which I am also getting when building locally as well
psql:sql/attributes_maprojid_cd.sql:15: ERROR: GEOSIntersects: TopologyException: side location conflict at -73.882000000000005 40.866999999999997
Before I look through the output, I took a look at the logs in the github actions. Error regarding the postgis function seems to be resolved with @td928 solution which is awesome! Two things to note: the curl could not resolve host "error/issue" still persists and (a minor) improvement we could make is updating the dot_bridges python file with concat to clean up the logs a bit more. Not sure if the curl could not resolve host is actually an issue at this point
@AmandaDoyle @td928 @SashaWeinstein Are you familiar with theNOTICE: Self-intersection at or near point -73.997 40.572
message that is appearing in the build step? The second post in this blog seems to be helpful - https://gis.stackexchange.com/questions/157091/cleaning-geometries-in-postgis. can we chat about it at stand up?
I ran this branch on my local machine and everything looked the same as the github actions build (in terms of log messages) until I got to the analysis part and the projects_by_community_dist_spending_Date
and projects_by_communitydist_spending
are not generated locally - did anyone else have this issue?
Before I look through the output, I took a look at the logs in the github actions. Error regarding the postgis function seems to be resolved with @td928 solution which is awesome! Two things to note: the curl could not resolve host "error/issue" still persists and (a minor) improvement we could make is updating the dot_bridges python file with concat to clean up the logs a bit more. Not sure if the curl could not resolve host is actually an issue at this point
about the dot_bridges I want to confirm with @AmandaDoyle. It seems to me possible this work was written when dot_bridges data was provided to use in a different format. It seems to me that new dataset is given to us in the same format as the transformed dot_projects_bridges_byfms
if it is indeed the case we could remove the dot_bridges.py
entirely
Couple outstanding question for @AmandaDoyle:
capital_spending
table being generate for anyone?Addressed issue #108
Fix convert lines to polygons
In previous runs of the build workflow we were getting this error
psql:sql/attributes_geomclean.sql:4: ERROR: GEOSBuffer: TopologyException: No forward edges found in buffer subgraph
Googling the error led us to this blog post which suggested implementing the PostGISST_SnapToGrid
function. This did fix the issue, you can see on runs from the 109 branch that this error no longer occurs.Minor Upgrades
I made some other small upgrades while working with the build attribute step. 1) Fixed spelling error in the name of the step in github actions 2) Replaced
frame.append()
withpd.concat
inattributes_maprojid_parkid
3) Updatedattributes_maprojid_parkid
to usedotenv
python package 4) Added -q flag to suppressINSERT 0 1
messages that were filling up the logs in the github actions. It's much easier to navigate the logs now