75 locations still have no county
simonw opened this issue · comments
Baltimore is fixed now. Opening a separate issue for the remainder.
Originally posted by @simonw in #672 (comment)
The DC ones fail like this: https://us-counties.datasette.io/counties/county_for_latitude_longitude?longitude=-77.03324&latitude=38.92956
But with a SQL query that doesn't join against STATE they work:
And that's because DC is missing from https://us-counties.datasette.io/counties/states - FIPS code 11 has nothing. Even though other non-states such as Northern Mariana Islands are listed there.
Fixing this bug over here: simonw/us-counties-datasette#1
I've fixed the bug in the underlying API, gonna clear the task queue and try this again.
Delete all on https://vial.calltheshots.us/admin/core/task/?task_type__id__exact=5
Then:
curl -XPOST 'https://vial.calltheshots.us/api/resolveMissingCounties' -d ''