All Downloads are FREE. Search and download functionalities are using the official Maven repository.

debug-plan.scripts.request_query.json Maven / Gradle / Ivy

query requestPlan($fromLat:Float!, $fromLon:Float!,
  $toLat:Float!, $toLon:Float!, $wheelchair:Boolean
  $fromTime: ZonedDateTime!, $toTime:ZonedDateTime!,
  $bikeTrafficStress:Int!, $minBikeTime:Int!
  ) {
plan(fromLat:$fromLat, fromLon:$fromLon, toLat:$toLat,toLon:$toLon, wheelchair:$wheelchair, fromTime:$fromTime, toTime:$toTime, 
 
  directModes:[DIRECTMODES],
  accessModes:[ACCESSMODES], egressModes:[EGRESSMODES],
transitModes:[TRANSITMODES],
bikeTrafficStress: $bikeTrafficStress, minBikeTime: $minBikeTime) {
    patterns {
      tripPatternIdx
      trips {
        tripId
        serviceId
        wheelchairAccessible
        bikesAllowed
      }
    }
  options {
    summary,
    fares {
       type,low,peak,senior, transferReduction, currency
    }
    itinerary {
      waitingTime
      walkTime
      distance
      transfers
      duration
      transitTime
      startTime
      endTime,
      connection {
        access
        egress,
        transit {
          pattern
          time
        }
      }
    
    }
    
    
    transit {
      from {
        name,
        stopId,
        lon,
        lat,
        wheelchairBoarding
      },
       to {
        name,
        stopId,
        lon,
        lat,
        wheelchairBoarding
      },
      mode,
      routes {id, routeIdx shortName, mode, agencyName},
      segmentPatterns {
        patternId, patternIdx,
	routeIdx
        fromIndex
        toIndex,
        fromDepartureTime
        toArrivalTime,
        tripId
        
     
      },
    middle {
      mode,
      duration,
      distance,
      geometryGeoJSON,
    }
    },
    
    access {
      mode,
      duration,
      distance,
      #geometryGeoJSON,
      
      #elevation {
        #distance
        #elevation
      #},
      #alerts {
        #alertHeaderText
        #alertDescriptionText
        #alertUrl
        #effectiveStartDate
        #effectiveEndDate
      #},
      streetEdges {
        #edgeId
        distance
        geometryGeoJSON
        mode
        streetName
        relativeDirection
        absoluteDirection
        #stayOn
        #area
        #exit
        #bogusName,
        bikeRentalOnStation {
          id,
          name,
          lat,lon
        }
        bikeRentalOffStation {
          id,
          name,
          lat,lon
        }
        parkRide {
          id,
          name,
          lat,lon
        }
      }
    },
     egress {
      mode,
      duration,
      distance,
      geometryGeoJSON,
     
      #elevation {
        #distance
        #elevation
      #},
      #alerts {
        #alertHeaderText
        #alertDescriptionText
        #alertUrl
        #effectiveStartDate
        #effectiveEndDate
      #},
      streetEdges {
        #edgeId
        #distance
        #geometryPolyline
        mode
        geometryGeoJSON,
        streetName
        relativeDirection
        absoluteDirection
        #stayOn
        #area
        #exit
        #bogusName,
        #bikeRentalOnStation {
          #id,
          #name,
          #lon,lat
        #}
      }
    }
  } 
  }
  
  #patterns{patternId, startTime, endTime, realTime, arrivalDelay, departureDelay}
} 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy