diff options
author | Mark Wells <mark@freeside.biz> | 2015-03-13 17:32:24 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-03-13 17:32:43 -0700 |
commit | 9c5e55dee57384a1210044f95f459de72ce063f5 (patch) | |
tree | dac030d365b250dd4d38061dc958954971cf2c8d /Geocoding.pm | |
parent | c349113913af257d59ac7c59296a41a0a0b51f28 (diff) |
fix coordinates
Diffstat (limited to 'Geocoding.pm')
-rw-r--r-- | Geocoding.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Geocoding.pm b/Geocoding.pm index b1f3ea7..36828fa 100644 --- a/Geocoding.pm +++ b/Geocoding.pm @@ -128,9 +128,9 @@ sub query { $result->is_match(1); $result->match_level($fields[3]); $result->address($fields[4]); - my ($lat, $long) = split(',', $fields[5]); - $result->latitude($lat); + my ($long, $lat) = split(',', $fields[5]); $result->longitude($long); + $result->latitude($lat); $result->state($fields[8]); $result->county($fields[9]); $result->tract($fields[10]); |