You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this again, trying to geocode localities and wondering why it doesn't return anything for e.g. "Philadelphia, PA". Seems preferable to me to have the default postprocessors be permissive and let users refine them if necessary. As it is, it's easy to assume that the underlying service is failing in cases where it's actually doing exactly what's desired but the results are getting dropped by the postprocessors.
The list of possibilities is here, but I'm not sure it makes sense to pick a subset to allow by default. Dropping the AttrFilter on locator_type from DEFAULT_POSTPROCESSORS altogether might make more sense.
Be default, if doing a gazetteer style search, the defautl postprocessors filter out everything.
To test:
Set up and run a new geocoder with EsriWSG:
You should get a few responses from the raw response:
But they get filtered out in /services/base.py
The text was updated successfully, but these errors were encountered: