From 3f8c6bd7b82e12e0ac31eaa3975e1142f6173f05 Mon Sep 17 00:00:00 2001 From: Jonas Oberg Date: Mon, 17 Dec 2012 13:16:50 +0000 Subject: Added link to service for comments --- perllib/FixMyStreet/Geocode/OSM.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perllib/FixMyStreet/Geocode') 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 { -- cgit v1.2.3