神刀安全网

Open Transit Routing Service

Multimodal Transit Routing

Mapzen Turn-by-Turn now uses GTFS data from Transitland to plan journeys on subways, buses, trains, and ferries. Drag and drop the pins on the map above to see different transit routes, all based on open data!

This demo lets you try out multimodal transit routing in the San Francisco Bay Area, New York City and Rome. More cities are coming soon!

“Multimodal” refers to routing via walking and public transit, using time-based schedules of public transportation systems. We can walk to a station, utilize public transportation, disembark and walk to our final destination. By default, we try to use rail before buses and attempt to avoid transfers. This demo uses weights of use_bus=0.5 , use_rail=0.6 and use_transfers=0.4 but these values can all be tweaked to your liking, along with time and date information. In this demo, all these parameters can be adjusted via the URL and passedto our API. Here are a few sample URLs to get you started.

https://mapzen.com/projects/transit/?c=multimodal&st_lat=40.64222380316418&st_lng=-74.07480239868164&st=5%20Bay%20Street%2C%20Staten%20Island%2C%20New%20York%2C%20NY%2C%20USA&end_lat=41.07262208878544&end_lng=-73.77233505249023&end=2%20Cleveland%20Street%2C%20Mount%20Pleasant%2C%20NY&use_bus=0.5&use_rail=0.6&use_transfers=0.4&dt=&dt_type=

https://mapzen.com/projects/transit/?c=multimodal&st_lat=41.92629234083705&st_lng=12.486133575439453&st=2%20Via%20Umberto%20Boccioni%2C%20Roma%2C%20Italy&end_lat=41.88221478702957&end_lng=12.490425109863281&end=10%20Viale%20Guido%20Baccelli%2C%20Roma%2C%20Italy&use_bus=0.7&use_rail=0.6&use_transfers=0.6&dt=2016-05-10T08%3A00&dt_type=1

Small changes in the weights can make a big difference in the route. Let us know what you see –oran email! We’ll add more cities here as they become available.

Mapzen Mobility is all about an open-source toolkit for multimodal transportation.Learn more about the toolkit of services, powered exclusively by open-source software and open data.

Open Transit Routing Service

Get started

Let’s do this

Sign up for an API key to add routing to your project!

Documentation

The Mapzen Turn-by-Turn documentation has step-by-step walkthroughs and technical reference to use the service.

Add navigation to your map

If you’re looking to use Mapzen Turn-by-Turn with a Leaflet web map, check out our plugin for Leaflet Routing Machine (LRM) . You’ll be able to start offering Mapzen Turn-by-Turn on your web map in minutes! Ourtutorial will get you started in no time.

Harness the power of the API

A Turn-by-Turn API response includes a JSON array of maneuvers including textual and voice directions suitable for navigation and guidance applications. The route path is returned as an encoded polyline which can be decoded and displayed on a map. Many more details are available in the API documentation .

Mapzen is providing Turn-by-Turn as a shared service. API rate limits are generous, but pleasedrop us a line if you encounter them. We also provide companion services that may help you get more out of your API requests.

Companion services from Mapzen

  • TheTime Distance Matrix is ideal for planning and logistics apps where analysis of (yes) the time and distance between a set of locations where route shape and narrative guidance are not yet needed. Learn morehere.
  • Height and range data can be acquired for points and paths via theElevation Service rerturns. You can learn morehere.
  • When GTFS feeds of transit providers are added to the Transitland Feed Registry , the routes and stops can be integrated into Mapzen Turn-by-Turn and provide multimodal routing.

Community

Mapzen Turn-by-Turn has been out in the wild for quite some time. Check out some of ourfavorite examples from our friends!

Are you are using Mapzen Turn-by-Turn in a project?oran email!

Feedback

Mapzen Turn-by-Turn has come a long way in a short time. But we are not done yet! The framework is in place to add new features, add new costing options and methods, expand multimodal routing features and coverage, and to help improve OSM road network quality worldwide. The team at Mapzen is interested in your feedback. Please report any routing issues and suggest new features athello@mapzen.com.

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Open Transit Routing Service

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址