Skip to content

Conversation

@nanth-uw
Copy link

This rework utilizes the postgis tiger geocoder extension built in
functions to load the data.

NOTE: this is a draft currently since there are still user issues with the
actual script entrypoint calling pg_ctl that it doesnt have permissions to.

There is also the issue of the database user (which I removed and is currently
the default postgres instead of the previous clad_svc user).

  • Remove these old folders
  • Remove repo files
  • Python-based alpine ruby image. No R required
  • Add csv thing
  • Add build dependencies and delete repo build dir
  • Add data folder ignores, but retain top level data folder
  • Also copy flag_flag to auto-start
  • Enable trivy scan
  • Use linux platform in run
  • Remove old scripts, move to scripts folder for ad-hoc usage
  • Move python code in scripts folder, extract sql queries into files
  • Add automated data download using postgis tiger functions

@nanth-uw
Copy link
Author

For more information, these postgis tiger sql scripts come from here: https://postgis.net/docs/manual-3.6/en/Extras.html#Tiger_Geocoder

@nanth-uw
Copy link
Author

I'm pretty sure (but could be wrong) this simply need the user permissions fixed? And then the PG_USER in the python script adjusted.

@nanth-uw nanth-uw marked this pull request as ready for review December 19, 2025 17:45
@nanth-uw
Copy link
Author

This should now be ready for review and merging into main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants