Closed eyeseast closed 3 years ago
One wrinkle in this: Not all geocoders support it, and it's passed in as an argument to geocode()
, not __init__
, so it needs to be passed to the CLI callback and then maybe discarded.
Maybe an options or kwargs dictionary gets passed into the context object so we can use it later. Probably the most straightforward way to handle options like this.
Looking at the options available for Mapbox, for example, it would be worth being able to pass in things like country
or proximity
to bias results, especially with messier datasets.
Fixed in #18
In cases where a geography is unclear, would be good to constrain results in geocoders that support it.