pelias / wof-admin-lookup

Who's on First Admin Lookup for the Pelias Geocoder
https://pelias.io
MIT License
9 stars 24 forks source link

index a version of postalcodes which doesnt include whitespace #216

Closed missinglink closed 6 years ago

missinglink commented 6 years ago

This PR checks to see if a postcode contains whitespace, if it does, then it indexes:

Note: this PR is paired with: https://github.com/pelias/whosonfirst/pull/369

orangejulius commented 6 years ago

We can't look up postalcodes in wof-admin-lookup/pip-service since many postalcodes are not geometries. so I don't think this is relevant. We should look into similar logic in OA and OSM importers though.