Fill in correct data about the district

This commit is contained in:
Eli Ribble 2026-02-16 15:26:41 +00:00
parent a1cc2dbaff
commit f859e372c6
No known key found for this signature in database
9 changed files with 244 additions and 66 deletions

View file

@ -150,7 +150,7 @@ func bulkGeocode(ctx context.Context, txn bob.Tx, file models.FileuploadFile, po
FROM import.district d
JOIN organization o ON d.gid = o.import_district_gid
WHERE o.id = p.organization_id
AND ST_Contains(d.geom, p.geom)
AND ST_Contains(d.geom_4326, p.geom)
)
)
WHERE p.geom IS NOT NULL;`