|
NAMEAstro::App::Satpass2::Geocode::OSM - Wrapper for Geo::Coder::OSMSYNOPSISuse Astro::App::Satpass2::Geocode::OSM; use YAML; my $gc = Astro::App::Satpass2::Geocode::OSM->new(); print Dump( $gc->geocode( '10 Downing St, London England' ); DESCRIPTIONThis class wraps the Geo::Coder::OSM module, to provide a consistent interface to Astro::App::Satpass2.This class is a subclass of Astro::App::Satpass2::Geocode. METHODSThis class provides no public methods in addition to those provided by its superclass. However, it overrides the following methods:geocodeThe data returned by Geo::Coder::OSM are mapped to data returned by this method as follows:description - comes from {display_name}; latitude ---- comes from {lat}; longitude --- comes from {lon}. GEOCODER_CLASSThis returns 'Geo::Coder::OSM'.GEOCODER_SITEThis returns 'http://nominatim.openstreetmap.org/'.SEE ALSOGeo::Coder::OSM for the details on the heavy lifting.SUPPORTSupport is by the author. Please file bug reports at <https://rt.cpan.org/Public/Dist/Display.html?Name=Astro-App-Satpass2>, <https://github.com/trwyant/perl-Astro-App-Satpass2/issues>, or in electronic mail to the author.AUTHORThomas R. Wyant, III wyant at cpan dot orgCOPYRIGHT AND LICENSECopyright (C) 2011-2021 by Thomas R. Wyant, IIIThis program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
Visit the GSP FreeBSD Man Page Interface. |