org.onebusaway.transit_data_federation.services
Interface AgencyService

All Known Implementing Classes:
AgencyServiceImpl

public interface AgencyService

Methods for querying Agency information.

Author:
bdferris

Method Summary
 Map<String,CoordinatePoint> getAgencyIdsAndCenterPoints()
          For each agency in a transit bundle, computes the center point of all the stops operated by that agency.
 Map<String,CoordinateBounds> getAgencyIdsAndCoverageAreas()
          For each agency in a transit bundle, computes the coordinate bounds of all the stops operated by that agency.
 List<String> getAllAgencyIds()
           
 TimeZone getTimeZoneForAgencyId(String agencyId)
          See Agency.getTimezone().
 

Method Detail

getAllAgencyIds

List<String> getAllAgencyIds()

getTimeZoneForAgencyId

TimeZone getTimeZoneForAgencyId(String agencyId)
See Agency.getTimezone().

Parameters:
agencyId - the id of the target agency
Returns:
the instantiated timezone object for the specified agencyId

getAgencyIdsAndCenterPoints

Map<String,CoordinatePoint> getAgencyIdsAndCenterPoints()
For each agency in a transit bundle, computes the center point of all the stops operated by that agency.

Returns:
the center point of all stops operated by each agency, keyed by agency id

getAgencyIdsAndCoverageAreas

Map<String,CoordinateBounds> getAgencyIdsAndCoverageAreas()
For each agency in a transit bundle, computes the coordinate bounds of all the stops operated by that agency.

Returns:
the coordinate bounds of all stops operated by each agency, keyed by agency id


Copyright © 2012 OneBusAway. All Rights Reserved.