aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode
Commit message (Collapse)AuthorAgeLines
* Make UPLOAD_DIR/GEO_CACHE relative to project rootMatthew Somerville2016-08-10-4/+4
| | | | | If they are absolute already, do nothing. Switch a couple of uses to Path::Tiny as well.
* Don’t cache geocoder results when STAGING_SITE is 1Dave Arter2016-07-08-2/+2
|
* [Zurich] Use new LV95/CH1903+ geocoder and base map tilesDave Arter2016-07-07-3/+3
| | | | | | | | | | | - Use new `getLocation95` method for geocoding addresses - Replace Coordinates::CH1903 with Coordinates::CH1903Plus - Refactor Map::Zurich to use WMTSBase instead of duplicating code - Slightly refactor map templates to make using custom WMTS tiles easier - Use correct sizes for marker pins on maps Closes mysociety/FixMyStreet-Commercial#769. Closes mysociety/FixMyStreet-Commercial#768.
* Fix co-ordinate bug in Google geocoder.Matthew Somerville2016-01-29-1/+1
| | | | a4b6ed0f put the latitude in $longitude and vice-versa.
* Move main bin scripts to separate packages.Matthew Somerville2015-12-02-0/+1
| | | | Maintain old location wrappers.
* Remove many uses of mySociety::Config.Matthew Somerville2015-12-02-1/+1
|
* Improvements to bin/geocodeHakim Cassimally2015-10-06-0/+11
| | | | | | | | | | | - Fix behaviour of ALLOWED_COBRANDS checking - ... inferring cobrand if only one is allowed - new --use-cache option (defaulting to false) - better diagnostics - Can be manually uncommented and tested against bin/geocode script. See mysociety/FixMyStreet-Commercial#710
* Upgrade Google geocoder to version 3 of the API.Matthew Somerville2015-08-28-15/+13
|
* Merge branch 'issues/fms-mobile/190'Matthew Somerville2015-02-13-63/+53
|\ | | | | | | | | Conflicts: perllib/FixMyStreet/Geocode/Google.pm
| * Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-64/+53
| | | | | | | | | | | | | | This includes MapIt postcode lookups, geocoding, query parameters, tile clicks. Stringifying truncates them to six decimal places, which means we no longer need any "short" versions anywhere, and the JSON response will always uses a decimal point regardless of locale.
* | Expire cached geolocations after a week.Matthew Somerville2015-02-13-117/+18
|/ | | | | And refactor geoloction caching code into one function (except for Zurich which has its own SOAP based system).
* Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-11/+1
|
* Remove liberror-perl and libsoap-lite-perl.Matthew Somerville2014-11-05-1/+2
| | | | | | Try and save other people the potential pain of installing SOAP::Lite; only UK FixMyStreet and Zurich geocoder use it, so set it as an optional feature in the cpanfile instead.
* [Zurich] basic commandline tool for geocoderHakim Cassimally2014-03-12-0/+1
| | | | | Also add warning to Geocoder to pass on server error if you are running in development.
* Move Swedish changes from Geocode/OSM.pm to Geocode/FixaMinGata.pmJon Kristensen2014-03-11-25/+213
|
* fixed search resultsRikard2014-03-11-41/+22
| | | | Now, instead of selecting a potentially bad result, it shows a list of results hashed together using the first three words in display_name.
* Added link to service for commentsJonas Oberg2014-03-11-0/+2
|
* Updated to address square and parkJonas Oberg2014-03-11-4/+6
|
* Pushed fix for Göteborg cityJonas Oberg2014-03-11-2/+7
|
* Added hamletJonas Oberg2014-03-11-1/+2
|
* Updated with small bug fixesJonas Oberg2014-03-11-3/+12
|
* Updated address search to behave better.. I think.Jonas Oberg2014-03-11-2/+18
|
* Autocomplete of Zurich street names (2beb264 plus tweaks).Matthew Somerville2013-01-07-4/+10
|
* Don't try and store empty nothing.Matthew Somerville2012-12-11-1/+1
|
* Add caching of geocoder similar to other geocoders.Matthew Somerville2012-12-06-8/+19
|
* Catch 500 error from geocoder.Matthew Somerville2012-12-06-1/+7
|
* Add Zurich geocoder (and allow geocoder choice to be picked in config).Matthew Somerville2012-12-04-3/+110
|
* Travis script.Matthew Somerville2012-10-05-1/+1
|
* Add a missing "use" statement, required for in_gb_localeMark Longair2012-09-20-0/+1
|
* Increase timeout for Nominatim, to fix #316.Matthew Somerville2012-08-31-1/+2
|
* Remove any Northern Ireland specific code.Matthew Somerville2012-07-20-12/+1
|
* Add Nominatim-based geocoding service (fixes #183).Matthew Somerville2012-07-13-10/+73
|
* Remove various UK specific code out of Default cobrand into UK one.Matthew Somerville2012-07-13-1/+1
|
* Merge branch 'master' into bromleyMatthew Somerville2012-05-16-2/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-reports conf/crontab.ugly conf/general.yml-example db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/DB/Result/Comment.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/Result/User.pm templates/web/default/js/validation_strings.html templates/web/fixmystreet/auth/sign_out.html templates/web/fixmystreet/report/new/councils_text_all.html web/cobrands/fixmystreet/_base.scss
| * Fix bug wherein links on multiple result pages in other locales would not ↵Anders Einar Hilden2012-05-10-1/+8
| | | | | | | | work. Ported from Bing.pm
| * Fix bug wherein links on multiple result pages in other locales would not work.Matthew Somerville2012-05-04-1/+8
| |
* | Fix geocoding when it returns multiple results, only some of which are in NI.Matthew Somerville2012-05-11-3/+9
|/
* Make sure postalCode is present in result.Matthew Somerville2012-03-30-1/+1
|
* Also treat as same if just same locality and postalcode.Matthew Somerville2012-03-30-1/+3
|
* Ignore some 'duplicate' results in geocoding.Matthew Somerville2012-03-30-0/+8
|
* Initial creation of Bromley cobrand.Matthew Somerville2012-03-22-1/+1
|
* Reverse bing geocoding should get the local culture parameterGuillaume RISCHARD2012-03-22-2/+2
|
* International support for Bing geocodingGuillaume RISCHARD2012-03-22-4/+7
|
* do not add town if it is already in the queryStruan Donald2011-10-18-1/+1
|
* append town name to Bing gecode queries if provided to decrease false matchesStruan Donald2011-10-18-0/+1
|
* Ignore London in admin interface, text tweaks.Matthew Somerville2011-09-27-1/+1
|
* Add address information to description in RSS feedsStruan Donald2011-08-29-0/+32
|
* Store lat/lon from multiple results and use that to prevent infinite loop on ↵Matthew Somerville2011-08-09-2/+2
| | | | e.g. 'Clapham'.
* Missing include.Matthew Somerville2011-07-12-3/+3
|
* Get OSM lookup hopefully working, does #95 except for bin scripts.Matthew Somerville2011-07-12-32/+5
|