GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
546 stars 87 forks source link

Better support of "Lincoln, Nebraska" in spatial value #4451

Open FuhuXia opened 10 months ago

FuhuXia commented 10 months ago

We support string value for spatial field such as Lincoln, Nebraska, as documented here. But in reality:

The reason is the how the values are present in the locations table. We need to introduce some logic in the code so that all four values are supported.

How to reproduce

See the difference in the query results:

catalog=# select name from locations where name like '%Nebraska';
catalog=# select name from locations where name like '%NE';

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

hkdctol commented 6 months ago

Moving to icebox for now