diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-20 14:33:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-03 09:34:47 +0100 |
commit | 8b932d2b0ef36579a3b2b5fb9702f03d9e73559a (patch) | |
tree | 76a03b19ac1153708c7441ac8a5d12ab1fedd6c7 /perllib/FixMyStreet/Geocode/OSM.pm | |
parent | 1ddef8a4fc90aa283ec2a24b1a5e332eea7e1069 (diff) |
[FixaMinGata] Update geocoding.
- Removes the FixaMinGata Geocode module
- Surround bounds coordinates with quotes
- Return a different bounding box for Öckerö and other places
- Specifies specific GPS coordinates for certain OpenStreetMap relations
- Removes a comment
Diffstat (limited to 'perllib/FixMyStreet/Geocode/OSM.pm')
-rw-r--r-- | perllib/FixMyStreet/Geocode/OSM.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Geocode/OSM.pm b/perllib/FixMyStreet/Geocode/OSM.pm index 4878df997..d237f453b 100644 --- a/perllib/FixMyStreet/Geocode/OSM.pm +++ b/perllib/FixMyStreet/Geocode/OSM.pm @@ -52,6 +52,7 @@ sub string { my ( $error, @valid_locations, $latitude, $longitude ); foreach (@$js) { + $c->cobrand->call_hook(geocoder_munge_results => $_); ( $latitude, $longitude ) = map { Utils::truncate_coordinate($_) } ( $_->{lat}, $_->{lon} ); |