Class PtRouteResource

java.lang.Object
com.graphhopper.resources.PtRouteResource

@Path("route-pt") public class PtRouteResource extends Object
  • Constructor Details

  • Method Details

    • route

      @GET @Produces("application/json") public com.fasterxml.jackson.databind.node.ObjectNode route(@QueryParam("point") @Size(min=2,max=2) @Size(min=2,max=2) List<GHLocationParam> requestPoints, @QueryParam("pt.earliest_departure_time") @NotNull @NotNull OffsetDateTimeParam departureTimeParam, @QueryParam("pt.profile_duration") DurationParam profileDuration, @QueryParam("pt.arrive_by") @DefaultValue("false") boolean arriveBy, @QueryParam("locale") String localeStr, @QueryParam("pt.ignore_transfers") Boolean ignoreTransfers, @QueryParam("pt.profile") Boolean profileQuery, @QueryParam("pt.limit_solutions") Integer limitSolutions, @QueryParam("pt.limit_trip_time") DurationParam limitTripTime, @QueryParam("pt.limit_street_time") DurationParam limitStreetTime, @QueryParam("pt.access_profile") String accessProfile, @QueryParam("pt.beta_access_time") Double betaAccessTime, @QueryParam("pt.egress_profile") String egressProfile, @QueryParam("pt.beta_egress_time") Double betaEgressTime)