He:Routing
שירותי ניתוב (קיימות ארצות בהן הם מכונים שיחרותי ניווט) מסייעים למצוא איך להגיע ממקום למקום. נתוני OpenStreetMap כוללים מידע ניווט על פי אופני שימוש רבים כולל: נהיגה ברכב, הליכה רגלית, דיווש על אופניים ורכיבה על סוסים. קיימים גם שירותי ניתוב לא מקוונים, משובצים בתוכנה וגם מבוססי רשת המשתמשים בנתוני OpenStreetMap.
דף זה מספק למפתחים עצות לתוכנה זמינה ליצירת יישומים/פריסות חדשים ומפרט נתוני מפתח של OpenStreetMap הנתינים לשימוש ביצירת מנועי ניתוב טובים יותר. קיימות גם מספר רשימות דיוור זמינות.
משתמשי קצה: תכנות ניתוב
ראו גם רשימת שירותי ניתוב מבוססי OSM
- בפשטות בדף הבית של OSM (רשומה עם תיאור בבלוג)
- Routing/online routers – קיימים אתרי רשת רבים המספקים מתכנני נתיבים מקוונים: אלה הם התמיכה הגלובלית מפורטים להלן.
- Routing/offline routers – יתרה מזאת, קיימות מספר אפשרויות להתקין תכנות ניווט לא מקוונות למכשיר המוחזק ביד או למחשב נישא.
- יישומי ניווט זמינים עבור מכשירי אנדרואיד, Apple iOS and Java ME (J2ME). לפלטפורמות סלולריות אחרות ראו Software#Mobile Devices.
| Name, link | Genre | Covered region | Language | Description | Free materials | Image |
|---|---|---|---|---|---|---|
| A Better Routeplanner | Routing, car | English | A route planner for planning trips and charging with a Electric Vehicle. | No | ||
| Agilogik GmbH | Routing, maps, tile server, geocoding, geo reverse coding | Worldwide | English, German | Worldwide tile server and services for commercial use | No | |
| BBBike [1] | Routing | English, Chinese, Danish, Spanish, French, German, Croatian, Dutch, Polish, Portuguese, Russian | Routing focused on bikes (no. of traffic lights, height profile, lit, road surface, …) | ? | ||
| Bike Citizens [2] | Routing | English, Spanish, French, German | Bike Citizens is a navigation app designed for and by cyclists, offers offline routing, predefined tours and various routing profiles | ? | ||
| BRouter [3] | Routing | English, Hungarian | BRouter: Let's get serious about bike routing. BRouter offers routing for trekking and cycling with predefined profiles and the ability to modify and upload custom profiles | ? | ||
| CycleStreets [4] | Routing | English | Bicycle routing and planning and photo map based on OpenStreetMap data and the OpenCycleMap for the British Isles. API available. | Yes | ||
| FacilMap [5] | General, routing, share, social, interaction | English | Different OSM renderings, search and draggable routes, create custom maps with live collaboration where markers, lines, routes and GPX/KML/GeoJSON/OSM files can be added. | Yes | ||
| GraphHopper [6] | Routing, car, bike, walking, public transport, wheelchair | Worldwide | multiple languages | Fast routing for bikes, pedestrians and cars with worldwide coverage. Using the open source routing engine GraphHopper. | Yes | |
| GraphHopper Direction Api | Road Routing, car, bike, walking | Worldwide | multiple languages | Fast routing service including a powerful Matrix and Route Optimization API based on the open source routing engine GraphHopper | No commercial | |
| KOMOOT Routing | Routing, hiking, bike | German, English | Calculate routes for mountain bikes, touring bikes and hiking taking your fitness level and elevation into account | Yes, see GraphHopper | ||
| Kurviger | Routing, motorcycle | English, French, Italian, Spanish, Dutch, German | Routing and navigation specialised for motorcycles. Kurviger calculates curvy routes that are fun to ride on bike. Curves and slopes are preferred, while cities and highways are avoided. Generate loop trips with one click. Personalise the routing to your own riding style. | Yes, see GraphHopper | ||
| Mapzen Turn-by-Turn (Valhalla) | Routing | Worldwide | English | Worldwide routing by automobile, bus, foot, and bicycle. | Yes | |
| Naviki | Routing | multiple languages | Planning bicycle trips and routing and collecting GPS traces | ? | ||
| Nop's Reit- und Wanderkarte [7] | Routing | German, English, Italian | Dedicated routing for hiking and horseback riding with multiple targets. Dynamic route options e.g. for following marked hiking routes or weather conditions. Options to modify caculated route manually, download or print it. | No | ||
| OpenRouteService [8] | Routing, wheelchair routing | Czech, Danish, German, English, Spanish, French, Croatian, Hungarian, Italian, Dutch, Polish, Portuguese, Russian, Ukrainian, Chinese | Route navigation based on osm data and TMC for car, bike and pedestrian | Yes | ||
| RouteYou | Routing, walk, bike, horse riding, motorcycle,... | Dutch, English, French, German, Italian, Spanish, Catalan, Danish | Routing based on osm data for several recreational modes walking, hiking, cycling, horse riding, motorcycle,... | Yes, freemium | ||
| routing.osm.ch | Routing | Europe, Switzerland | German, English, French, Italian | Routing with Leaflet slippy map for pedestrians (two types), cyclists (two types) and cars in Switzerland only (based on OSRM) | Yes, free | |
| OpenTripPlanner | Routing | English | A multimodal router combining OSM and Public transport tables | Yes | ||
| Ride the City | Routing | עברית, French, Spanish, Icelandic | Bicycle routing based on OSM data. Coverage: Selected big cities (currently 42) in U.S., Canada, Australia, France, Spain, few cities in other countries. | No | ||
| TargomoAPI | Routing, car, walk, bike, public transport, network analysis, isochrone | English, German | Targomo offers routing-based analysis tools - isochrone polygons, points-of-interest, routing, reachability, fleet management, statistics reachability. | No | ||
| Open Source Routing Machine [9] | Routing | Worldwide | Bulgarian, Czech, German, Danish, Greek, English, Spanish, Finnish, French, Italian, Irish, Georgian, Latvian, Norwegian Bokmål, Polish, Portuguese, Romanian, Russian, Swedish, Turkish | A new fast routing service for car covering the world |
Yes. | |
| StreetCritic | Routing, bike | Worldwide | English | Routing for cyclists that uses both user and algorithmic ratings to calculate routes and visualise streets | Yes | |
| uNav | General, routing | multiple languages | Map viewer and GPS navigator for Ubuntu Phone | Yes | ||
| VROOM [10] | Routing | English | Vehicle Routing Open-source Optimization Machine It's aim at providing good solutions to various real-life vehicle routing problems (VRP) within a small computing time. |
Yes | ||
| brouter.grade.de [11] | Waterway routing | Europe | English | Inland waterway routing (Europe) taking size of vessel into account. Based on Brouter router-software | Yes |
גלריה
- Example: Routing from Hères to Thère, France
ממפים: שיפור נתוני המפה
על מנת שתוכנת הניתוב תעבוד היטב, על נתוני המפה המוסתרים להיות באיכות טובה. בהכרח, משמעות הדבר היא שדרכים המתחברות במפה יתחברו גם על פני השטח, לדרכים חד סטריות יוספו תגיות מתאימות, וגם מגבלות פניה יופיעו על המפה, וכן הלאה. יש להכיר את תכונות המפה שבשימוש. במיוחד, יש לראות את תגיות OSM לניתוב כדי להבין תוויות ספציפיות לניתוב.
תיקון באגים עם הערות

מספר נושאים לטיפול המדווחים על ידי הערות הן בפירוש אודות דרכים חד סטריות ומגבלות פניה. וכך הן מסומנות.
נתוני מהירות
כדי לחשב את הדרך המהירה ביותר, אנא שקלו הוספת נתוני מהירות על ידי הוספת התגית maxspeed=*. יש לכך חשיבות מיוחדת עם מגבלת המהירות שונה מהמהירות המרבית המצופה לדרך מסוג זה באותה ארץ ועבור אותו סוג רכב.
- הערה: קיימים שירותים המסייעים לזהות מגבלות מהירות חסרות.
לעתים קרובות למגבלת המהירות אין משמעות - ראו #Average speed.
בדיקת התיקון שלך
לאחר סיום התיקון במפה יש להמתין עד שהגרסה המתוקנת של המפה תועבר למנוע הניתוב שבשימושך. ההשהיה בכל מנוע תלויה בגורמים הבאים:
- כל כמה זמן מתקבלים שינויים ממסד הנתונים.
- כמה זמן נדרש כדי לעדכן את מסד הנתונים הפנימי.
במקרה של שימוש ב־OSRM עדכונים יתקבלו פעמיים ביום ועיבוד העדכונים יארך 10 עד 12 שעות. זה יביא לכל זמן השהיה כולל בין 10 ל-24 שעות משמירת התיקון ב־OSRM ועד שייכנס לשימוש.
עוד מידע שימושי
- surface=* - שימושי במיוחד לרוכבי אופניים.
- cycleway:left=*/cycleway:right=*/cycleway:both=* ^ - מציין נוכחות של תשתיות דרכי אופניים.
- tracktype=* and surface=* כשהדרך היא highway=track
- maxweight=* - למשאיות, כולל תוויות יותר מורכבות הנדרשות במקרים מסוימים.
שיפועים
הוספת שיפועים לנתוני הרשת עלולה להביא לשגיאות מדגמיות מהותיות, שבמיוחד ישפיעו על ניתוב אופניים. ניתן לתקן זאת על ידי שימוש ב־https://github.com/fiftysevendegreesofrad/BayesianDrape BayesianDrape]