Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Geo
Image
Media
Sound
Strings
Tools
Vector

Returns routes, times, and directions - Carson Smuts 2015

Inputs

NameIDDescriptionType
PointFromPntPoint to search FROM Point
PointToPntPoint to search TO Point
StringFromAddrAddress to search FROM - if used, will overide the above Point inputText
StringToAddrAddress to search TO - if used, will overide the above Point inputText
IntegerRouteWhich route do you want to display?Integer
StringUnitsGet info in imperial or metricText
StringModeChoose between -driving-walking-bicyclingText
StringAvoidShould we avoid -tolls- or -highways- Text
StringTimeSpecify the time of depature for this Transit mode only - must be in UNIX Epoch time format i.e. 1442598189Text

Outputs

NameIDDescriptionType
StringRouteThe Name of the routeText
StringRouteNThe number of routes to choose fromText
StringDistanceThe Distance to travelText
StringDurationThe Time to travelText
StringStartAddrStart LocationText
StringEndAddrEnd LocationText
PointStartEndStart and EndPoint
PointPointsAll Points from Start to EndPoint
SonicStepStepsEach Step from A to B (Use the Step Component to read this output)Generic Data
DoubleMinutesThe Time to travel in secondsNumber

Video Tutorials

Site design © Robin Rodricks.   Mosquito and associated data © 2020 Carson Smuts.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service