diff options
author | Dave Arter <davea@mysociety.org> | 2018-01-16 10:18:54 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-10 10:42:33 +0100 |
commit | a8c7d4e2717590695d76ef27e6356d0470afbf22 (patch) | |
tree | 687289a9549e6affc19e557c378111027e4e6e6e | |
parent | df3d19345308919957b42dad3970d81c90a25b58 (diff) |
[BANES] OSM geocoder & include full council name
-rw-r--r-- | perllib/FixMyStreet/Cobrand/BathNES.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/BathNES.pm b/perllib/FixMyStreet/Cobrand/BathNES.pm index 6e9244c9c..585a83cc5 100644 --- a/perllib/FixMyStreet/Cobrand/BathNES.pm +++ b/perllib/FixMyStreet/Cobrand/BathNES.pm @@ -19,11 +19,15 @@ sub example_places { return ( 'BA1 1JQ', "Lansdown Grove" ); } +sub get_geocoder { + return 'OSM'; # default of Bing gives poor results, let's try overriding. +} + sub disambiguate_location { my $self = shift; my $string = shift; - my $town = 'Bath'; + my $town = 'Bath and North East Somerset'; return { %{ $self->SUPER::disambiguate_location() }, |