NAME
Travel::Status::DE::HAFAS::Location - A single public transit location
SYNOPSIS
printf("Destination: %s (%8d)\n", $location->name, $location->eva);
VERSION
version 6.03
DESCRIPTION
Travel::Status::DE::HAFAS::Location describes a HAFAS location that belongs to a stop (e.g. on a journey's route) or has been returned as part of a locationSearch or geoSearch request.
METHODS
ACCESSORS
- $location->name
-
Location name, e.g. "Essen Hbf" or "Unter den Linden/B75, Tostedt".
- $location->eva
-
EVA ID, e.g. 8000080.
- $location->lat
-
Location latitude (WGS-84)
- $location->lon
-
Location longitude (WGS-84)
- $location->distance_m (geoSearch)
-
Distance in meters between the requested coordinates and this location.
- $location->weight (geoSearch, locationSearch)
-
Weight / Relevance / Importance of this location using an unknown metric. Higher values indicate more relevant locations.
DIAGNOSTICS
None.
DEPENDENCIES
BUGS AND LIMITATIONS
None known.
SEE ALSO
Travel::Routing::DE::HAFAS(3pm).
AUTHOR
Copyright (C) 2023 by Birte Kristina Friesel <derf@finalrewind.org>
LICENSE
This module is licensed under the same terms as Perl itself.