Class SPTResource

java.lang.Object
com.graphhopper.resources.SPTResource

@Path("spt") public class SPTResource extends Object
This resource provides the entire shortest path tree as response. In a simple CSV format discussed at #1577.
  • Constructor Details

  • Method Details

    • doGet

      @GET @Produces({"text/csv","application/json"}) public javax.ws.rs.core.Response doGet(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("profile") String profileName, @QueryParam("reverse_flow") @DefaultValue("false") boolean reverseFlow, @QueryParam("point") @NotNull @NotNull GHPointParam point, @QueryParam("columns") String columnsParam, @QueryParam("time_limit") @DefaultValue("600") OptionalLong timeLimitInSeconds, @QueryParam("distance_limit") @DefaultValue("-1") OptionalLong distanceInMeter)