aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode/Zurich.pm
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.
* 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
* Merge branch 'issues/fms-mobile/190'Matthew Somerville2015-02-13-9/+9
|\ | | | | | | | | Conflicts: perllib/FixMyStreet/Geocode/Google.pm
| * Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-9/+9
| | | | | | | | | | | | | | 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-1/+1
|/ | | | | 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-2/+0
|
* 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.
* 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-0/+90