Save address IDs when doing pool geocoding
This commit is contained in:
parent
6a8ae6d81a
commit
ac27c60e0c
8 changed files with 447 additions and 52 deletions
|
|
@ -161,6 +161,7 @@ func geocodePool(ctx context.Context, txn bob.Tx, client *stadia.StadiaMaps, job
|
|||
um.Table("fileupload.pool"),
|
||||
um.SetCol("h3cell").ToArg(geo.Cell),
|
||||
um.SetCol("geom").To(geom_query),
|
||||
um.SetCol("address_id").To(*geo.Address.ID),
|
||||
um.Where(psql.Quote("id").EQ(psql.Arg(pool.ID))),
|
||||
).Exec(ctx, txn)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue