diff options
author | Jonas Oberg <jonas@morus.se> | 2012-12-17 13:16:50 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-03-11 16:36:23 +0000 |
commit | 3f8c6bd7b82e12e0ac31eaa3975e1142f6173f05 (patch) | |
tree | 4c91a2e1c1316d6506d5eaccdc2064dc9746fb43 /perllib/FixMyStreet/Geocode | |
parent | 151136832ba260f52a41d6170458ce7b631edd53 (diff) |
Added link to service for comments
Diffstat (limited to 'perllib/FixMyStreet/Geocode')
-rw-r--r-- | perllib/FixMyStreet/Geocode/OSM.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Geocode/OSM.pm b/perllib/FixMyStreet/Geocode/OSM.pm index 7fb00c19c..ed79ba575 100644 --- a/perllib/FixMyStreet/Geocode/OSM.pm +++ b/perllib/FixMyStreet/Geocode/OSM.pm @@ -80,6 +80,7 @@ sub string { $_->{type} eq "village" || $_->{type} eq "hamlet" || $_->{type} eq "secondary" || + $_->{type} eq "pedestrian" || $_->{type} eq "tertiary" || $_->{type} eq "square" || $_->{type} eq "park" || @@ -96,6 +97,7 @@ sub string { $address = $_->{address}->{hamlet}.", ".$_->{address}->{state} if $_->{type} eq "hamlet"; $address = $_->{address}->{leisure}.", ".$_->{address}->{administrative} if $_->{type} eq "square"; $address = $_->{address}->{park}.", ".$_->{address}->{administrative} if $_->{type} eq "park"; + $address = $_->{address}->{pedestrian}.", ".$_->{address}->{administrative} if $_->{type} eq "pedestrian"; ( $latitude, $longitude ) = ( $_->{lat}, $_->{lon} ); mySociety::Locale::in_gb_locale { |