Bug#1031666: Missing Dependencies: Geo::Point

2023-12-09 Thread Dan Jacobson
Sorry.
I don't know if I am talking about Geo:: or Gis::
or libgeo or libgis.

It is all too confusing.

I'll leave it to others to straighten out.

As far a packages that don't seem to work as their man pages say,
I sure hope there is at least a README file in their doc directories
about it.



Bug#1031666: Missing Dependencies: Geo::Point

2023-12-09 Thread Dan Jacobson
On https://metacpan.org/pod/Geo::Distance
is says
   Deprecated.
   The maintainer of this distribution has indicated that it is deprecated and 
no longer suitable for use.
So it is time to remove this package from Debian! Thanks. I made a
separate bug report about it.



Bug#1031666: Missing Dependencies: Geo::Point

2023-10-21 Thread Florian Schlichting
Hi,

On Mon, Feb 20, 2023 at 07:10:49AM +0800, Dan Jacobson wrote:
> Package: libgis-distance-perl
> Version: 0.19-2
> 
> Man page has
>my $point1 = Geo::Point->latlong( $lat1, $lon1 );
> but
> Can't locate object method "latlong" via package "Geo::Point" (perhaps
> you forgot to load "Geo::Point"?)
> 
> Therefore where to get Geo::Point should at least be in the Package 
> Recommends.
> 
> No, it's not in libgeo-distance-perl.

it's in its own distribution, Geo::Point, see
https://metacpan.org/dist/Geo-Point/view/lib/Geo/Point.pod, which is not
currently packaged for Debian. However that's just sugar because, as the
manpage explains, you can just feed the decimal latitude and longitude
to the distance method directly:

# Returns a Class::Measure object.
my $distance = $gis->distance( $lat1, $lon1, $lat2, $lon2 );

Florian



Bug#1031666: Missing Dependencies: Geo::Point

2023-02-19 Thread Dan Jacobson
Package: libgis-distance-perl
Version: 0.19-2

Man page has
   my $point1 = Geo::Point->latlong( $lat1, $lon1 );
but
Can't locate object method "latlong" via package "Geo::Point" (perhaps
you forgot to load "Geo::Point"?)

Therefore where to get Geo::Point should at least be in the Package Recommends.

No, it's not in libgeo-distance-perl.