Skip to content
Permalink
Browse files

Release 0.26

  • Loading branch information...
nigelhorne committed Oct 9, 2019
1 parent 4933f0f commit 163e7fdb780ae8952116adfecbc6a61439ec47a7
Showing with 13 additions and 17 deletions.
  1. +1 −1 Changes
  2. +2 −2 README
  3. +3 −7 README.md
  4. +7 −7 lib/Geo/Coder/List.pm
@@ -1,6 +1,6 @@
Revision history for Geo-Coder-List

0.26
0.26 Wed 9 Oct 17:36:41 EDT 2019
Fix reverse_coding of Canada
Added support for OpenCage

4 README
@@ -1,4 +1,4 @@
Geo-Coder-List Version 0.25
Geo-Coder-List Version 0.26

INSTALLATION

@@ -35,4 +35,4 @@ LICENSE AND COPYRIGHT

Copyright (C) 2016-2019 Nigel Horne

This program is released under the following licence: GPL
This program is released under the following licence: GPL2
@@ -10,7 +10,7 @@ Geo::Coder::List - Call many Geo-Coders

# VERSION

Version 0.25
Version 0.26

# SYNOPSIS

@@ -127,9 +127,9 @@ reverse\_geocode() should support [Geo::Location::Point](https://metacpan.org/po

# SEE ALSO

[Geo::Coder::Many](https://metacpan.org/pod/Geo::Coder::Many)
[Geo::Coder::All](https://metacpan.org/pod/Geo::Coder::All)
[Geo::Coder::GooglePlaces](https://metacpan.org/pod/Geo::Coder::GooglePlaces)
[Geo::Coder::Many](https://metacpan.org/pod/Geo::Coder::Many)

# SUPPORT

@@ -143,10 +143,6 @@ You can also look for information at:

[http://rt.cpan.org/NoAuth/Bugs.html?Dist=Geo-Coder-List](http://rt.cpan.org/NoAuth/Bugs.html?Dist=Geo-Coder-List)

- AnnoCPAN: Annotated CPAN documentation

[http://annocpan.org/dist/Geo-Coder-List](http://annocpan.org/dist/Geo-Coder-List)

- CPAN Ratings

[http://cpanratings.perl.org/d/Geo-Coder-List](http://cpanratings.perl.org/d/Geo-Coder-List)
@@ -159,4 +155,4 @@ You can also look for information at:

Copyright 2016-2019 Nigel Horne.

This program is released under the following licence: GPL
This program is released under the following licence: GPL2
@@ -18,11 +18,11 @@ Geo::Coder::List - Call many Geo-Coders
=head1 VERSION
Version 0.25
Version 0.26
=cut

our $VERSION = '0.25';
our $VERSION = '0.26';
our %locations; # L1 cache, always used

=head1 SYNOPSIS
@@ -597,15 +597,15 @@ sub _cache {
if(ref($value) eq 'ARRAY') {
foreach my $item(@{$value}) {
if(ref($item) eq 'HASH') {
foreach my $key(keys(%{$item})) {
# while(my($key, $value) = each %{$item}) {
# foreach my $key(keys(%{$item})) {
while(my($key, $value) = each %{$item}) {
delete $item->{$key} unless($key eq 'geometry');
}
}
}
} elsif(ref($value) eq 'HASH') {
foreach my $key(keys(%{$value})) {
# while(my($key, $value) = each %{$value}) {
# foreach my $key(keys(%{$value})) {
while(my($key, $value) = each %{$value}) {
delete $value->{$key} unless ($key eq 'geometry');
}
}
@@ -671,7 +671,7 @@ L<http://search.cpan.org/dist/Geo-Coder-List/>
Copyright 2016-2019 Nigel Horne.
This program is released under the following licence: GPL
This program is released under the following licence: GPL2
=cut

0 comments on commit 163e7fd

Please sign in to comment.
You can’t perform that action at this time.