Distance Matrix API | Travel Time & Distance | Bing Maps

文章推薦指數: 80 %
投票人數:10人

The Bing Maps Distance Matrix API is a Microsoft-branded solution leveraging AI-powered search scenarios and accurate, high-quality geolocation features to help ... Skiptomaincontent Skiptomaincontent DistanceMatrixAPIMaximizeefficiencybycalculatingtraveltimeanddistancesinvariousscenariosleveragingtraveltimemapfeaturesinBingMapsAPI.Offeroptimaltravelsupportandtoolsforessentialbusinessplanningforyourusers.DiscovertheBingMapsDistanceMatrixAPIandhowithelpsyoubuildenticingexperiencestodriveengagementatlocalbusinessesbelow. STARTBUILDING ContactSales FeaturesandCapabilitiesHelpyourstafforyourusersdeterminethebestroutepossiblewiththeDistanceMatrixAPI,definingwhichlocationsaremoststrategicandaccurateforyourneeds.SomeparametersthatdefineexperiencesusingBingMapsAPIfeaturesincludetraveltime,distance,methodoftransportation(suchasdriving,walking,orpublictransitsolutions),startandendtime,trafficprediction,andbeyond. Developengagingandgeo-targetedapplicationsutilizingthefollowingfeatures: MultipleAgentsSupportsupto10agentsand100waypoints OptimizeRoutesMinimizetraveltimeanddistanceforallagents PredictiveTrafficCreateappswithtraveltimemaps,utilizingtimeofdayandtrafficdata CustomizeParametersInputyourpreferencestoreducetraveltimeordistance IncreasedAccuracyCalculaterouteswithactualroaddistanceanddistancetrackermap DistanceMatrixAPICalculatetraveltimeanddistanceTheBingMapsDistanceMatrixAPIservicecalculatestraveltimeanddistancesinvariousscenarioswithanoptionaltravel-timehistogram.Real-worldscenariosmayincludelocatingwhereanewcommercialbakeryshouldopentheirnextlocationtoreachtheircustomerswithease,orwhereaschooldistrictselectstheirpick-uplocationstogetthemostoutoftheirfleetofschoolbuses. DistanceMatrixAPICapabilities Optimizeperformancewithintelligentappsthatplanyourroutemoreeffectively,savingtime,moneyandresources. Identifyunderservedmarketsandnewlocationsfordeliveryoptimization,dataanalysisandlocationgrouping. Plan,monitorandutilizeassetstosavetimeandreducetransportationcosts. Datasheet Documentation DistanceMatrixAPIDistanceMatrixAPIinaction Realestateplanning–Determineafuturehouselocationbasedonschool,medicalservices,fireandrescue,worklocation,etc. Fieldservices–Routetheclosesttechniciantotheclientforservice. Retail–Optimizedeliveryfromdistributioncenterstoretaillocations. FrequentlyAskedQuestions HowdoIgetstartedwithDistanceMatrixAPI? BingMapsAPIusesbillabletransactions.IfyouhaveaBingMapskey,reviewtheDistanceMatrixAPIdocumentationtolearnmoreandstartdevelopingyourapplication.Ifyoudon’thaveaBingMapskey,createaBingMapsaccountandcreateakeytoauthenticateyourapplication.Thenfollowthedocumentationtostartdevelopingyourdistancematrixsolution. Forgeolocationlicensingquestions,contactaBingMapsexpert. Iamanewcustomer,howdoIgetlicensed? Totrythisservice,createabasicaccount,whichwillprovideupto125Ktransactionspercalendaryearatnocharge.Abovethisusagelimit,youwillneedtopurchasealicense.TopurchaseTransactionsorPerAssetlicense,contactaBingMapsSalesSpecialist.TostartdevelopingwiththisAPI,usetheDistanceMatrixAPIdocumentation. DistanceMatrixAPIisavailableforPublicandInternaltransactionwebsitelicensing.ItisnotavailableforKnownorLightKnownusers. ForMobileAssetManagement,theDistanceMatrixAPIisavailablebypurchasinganadd-onlicense (Note-youmusthavetheunderlyingAssetManagementperassetlicensefirst). Iamanexistingcustomer,howdoIgetlicensed? EnterpriseCustomerswillbeabletolicenseviathefollowingoptions: PublicorInternalWebsiteTransactions(whenusinginanapplicationthatisnotrelatedtoassettracking)– IfyouarenotlicensedforPublicorInternalTransactions,youcanpurchasethesefromyoursalespartner. YouwillneedtocreateaseparateaccountIDontheBingMapsDevCenterthatwillbespecifictoyourinternaltransactionusage. DistanceMatrixAPIisavailableforPublicandInternaltransactionwebsitelicensing.ItisnotavailableforKnownorLightKnownusers. Note–ThisAPIwillincreasetheconsumptionofbillabletransactions,whichmayresultintheneedtopurchaseadditionaltransactions. PerAsset(applicablewhenbeingusedaspartofassettrackingsolution)–TousetheDistanceMatrixAPI,youwillneedanunderlyingAssetManagementperassetlicense(withorwithoutrouting)andwillneedtopurchaseanadditionalperassetlicensefortheuseofthisnewservice.Forlicensingandpricingquestions,pleasecontactaBingMapsSalesSpecialist. HowdoIcalculatethenumberofcellsaresponsewillhave? Whencalculatingasimpledistancematrixeachorigin-destinationpairwillgenerateasinglecellinthematrix. Total#ofcells=#oforigins*#ofdestinations Forexample,amatrixthathas2origins,and5destinations,willgenerate10cellswhere2*5=10. Whenamatrixincludesahistogram,eachorigin-destinationpairwillhaveacellinthematrixforeachtimeinterval.Thenumberoftimeintervalsthatarequestwillhavedependsontheresolution,startandendtimes. Total#ofcells=#origins*#destinations*(endTimeinhours-startTimeinhours)/resolution*0.25 Forexample,amatrixthathas2origins,5destinations,andretrievestimeintervalsin15-minuteincrements(resolution=1)over24hours,willgenerate960cellswhere2*5*24/0.25=2*5*24*4=960. HowdoIcalculatethetotalnumberofbillabletransactionsarequestwillgenerate Howtocalculatetotalnumberofbillabletransactionsarequestwillgenerate Abillabletransactionisgeneratedforevery4cellsinamatrix,roundeduptothenearestwholeinteger.Forasimplematrix,billabletransactionswillbecalculatedusingthefollowingformula: Total#ofbillabletransactions=Ceiling(#origins*#destinations*¼) Forexample,amatrixthathas4origins,and5destinations,willgenerate5billabletransactionswhereCeiling(4*5*¼)=5. Whencalculatingamatrixwhichincludesahistogram,onlythefirst30timeintervalsineachorigin-destinationpairarecountedtowardsbillabletransactions,anyadditionaltimeintervalsareprovidedforfree. Total#ofbillabletransactions= Ceiling(¼*#origins*#destinations*Min(30,endTimeinhours–startTimeinhours/resolution*0.25)) Forexample,amatrixthathas4origins,5destinations,andretrievestimeintervalsin15minuteincrements(resolution=1)over24hours,willgenerate150cellswhereCeiling(¼*4*5*Min(30,24/0.25))=Ceiling(¼*4*5*Min(30,96))=Ceiling(¼*4*5* 30)=150.Notethat24/0.25=24*4=96,butsinceonlythefirstincrementsperorigin-destinationpairiscountedtowardsbillabletransaction,66timeintervalsareexcludedfromthetransactioncalculationperorigin-destinationpair,thussavingyouatotalof330billabletransactionsinthisscenario. Howmanyoriginsanddestinationscanbepassedintoarequest? Astandarddistancematrixcanhaveupto625origin-destinationpairs.Asinglecellinamatrixiscreatedforeachorigin-destinationpair.Thus,multiplyingthenumberoforiginsbythenumberofdestinationswillprovideyouwiththenumberoforigin-destinationpairs.Ifthisnumberisequaltoorlessthan625,theoriginsanddestinationscanbepassedintoasinglerequest.Forexample,youcanhave1originand625destinations,or25originsand25destinations.SeetheDistanceMatrixAPI documentation formoreinformation. Foradistancematrixthatprovidesahistogram,theAPIallowsuptoatotalof100origin-destinationpairs.Forexample,1originand100destinations,or10originsand10destinations. CanItrytheAPIservicebeforepurchasing? TotrytheDistanceMatrixAPI,allyouneedisaBasickey.Whenyouarereadytodeployintoproduction,BingMapsAPI’ssalesteamcanhelpyouupgradetoanEnterprisekey. WhatkindofkeyshouldIuse? TheDistanceMatrixAPIisavailableforBasicandEnterpriseaccounts(normalTOUlimitswillapplyforBasicaccounts),andisavailableforPublicandInternalWebsitetransactionsorasanadditionalperassetlicense.ItisnotavailableforKnownorLightKnownusers. Ifyouwouldliketotrydistancematrixcapabilitieslikeadistancetrackermaportraveltimemapfeatures,createaBasickeyandstartbuildingforfree!Todeployintoproduction,youwillneedtoupgradetoanEnterprisekey. WherecanIfindsamplecodeforthisAPI? Takealookatthisprojecton GitHub,asitmakesiteasytousetheDistanceMatrixAPIin.NETandalsoincludesexamplesonhowtousetheDistanceMatrixAPI. WheredoIgetsupport? Todevelopanddeploythisservice,refertotheDistanceMatrixAPI documentation.Ifyouhavelicensingquestions,pleasecontactaBingMapsSalesSpecialist.ForEnterpriseCustomerSupport,clickhere.OrcheckouttheBingMapsDeveloperNetworkforum. FleetManagementSolutions DistanceMatrixAPICalculatetraveltimesanddistancesbetweenasetoforiginsanddestinations. LearnMore IsochroneAPICalculatetheareathatcanbetravelledtowithinaspecifieddistanceortime. LearnMore Multi-ItineraryOptimizationAPIAutomateitinerariesformultipleagentswhileoptimizingalltheirroutes. LearnMore SnaptoRoadAPIAdvanceddatavisualizationandassettrackingwithcoordinatesthatfollowthegeometryoftheroad. LearnMore TruckRoutingAPIDesignedforprofessionaltransportationroutinglogistics. LearnMore BingMapsforEnterpriseTheBingMapsDistanceMatrixAPIisaMicrosoft-brandedsolutionleveragingAI-poweredsearchscenariosandaccurate,high-qualitygeolocationfeaturestohelpyoubuildbettergeospatialapplications.Ourcompetitivepricing,24/7support,andeaseofpurchasemakeitsimplerthanevertobuildsomethingamazingforyourbusinessandthecustomersyouserve. GETSTARTED CONTACTUS TALKTOASOLUTIONSPECIALIST LICENSING DEVELOPERLOGIN Sharethispage × Getintouchwithoursolutionsspecialists Name* FirstName LastName Company/OrganizationName*EmailAddress* PhoneCountry* AfghanistanAlbaniaAlgeriaAmericanSamoaAndorraAngolaAnguillaAntarcticaAntiguaandBarbudaArgentinaArmeniaArubaAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBonaire,SintEustatiusandSabaBosniaandHerzegovinaBotswanaBouvetIslandBrazilBritishIndianOceanTerritoryBruneiDarussalamBulgariaBurkinaFasoBurundiCaboVerdeCambodiaCameroonCanadaCaymanIslandsCentralAfricanRepublicChadChileChinaChristmasIslandCocosIslandsColombiaComorosCongoCongo,DemocraticRepublicoftheCookIslandsCostaRicaCroatiaCubaCuraçaoCyprusCzechiaCôted'IvoireDenmarkDjiboutiDominicaDominicanRepublicEcuadorEgyptElSalvadorEquatorialGuineaEritreaEstoniaEswatiniEthiopiaFalklandIslandsFaroeIslandsFijiFinlandFranceFrenchGuianaFrenchPolynesiaFrenchSouthernTerritoriesGabonGambiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuernseyGuineaGuinea-BissauGuyanaHaitiHeardIslandandMcDonaldIslandsHolySeeHondurasHongKongHungaryIcelandIndiaIndonesiaIranIraqIrelandIsleofManIsraelItalyJamaicaJapanJerseyJordanKazakhstanKenyaKiribatiKorea,DemocraticPeople'sRepublicofKorea,RepublicofKuwaitKyrgyzstanLaoPeople'sDemocraticRepublicLatviaLebanonLesothoLiberiaLibyaLiechtensteinLithuaniaLuxembourgMacaoMadagascarMalawiMalaysiaMaldivesMaliMaltaMarshallIslandsMartiniqueMauritaniaMauritiusMayotteMexicoMicronesiaMoldovaMonacoMongoliaMontenegroMontserratMoroccoMozambiqueMyanmarNamibiaNauruNepalNetherlandsNewCaledoniaNewZealandNicaraguaNigerNigeriaNiueNorfolkIslandNorthMacedoniaNorthernMarianaIslandsNorwayOmanPakistanPalauPalestine,StateofPanamaPapuaNewGuineaParaguayPeruPhilippinesPitcairnPolandPortugalPuertoRicoQatarRomaniaRussianFederationRwandaRéunionSaintBarthélemySaintHelena,AscensionandTristandaCunhaSaintKittsandNevisSaintLuciaSaintMartinSaintPierreandMiquelonSaintVincentandtheGrenadinesSamoaSanMarinoSaoTomeandPrincipeSaudiArabiaSenegalSerbiaSeychellesSierraLeoneSingaporeSintMaartenSlovakiaSloveniaSolomonIslandsSomaliaSouthAfricaSouthGeorgiaandtheSouthSandwichIslandsSouthSudanSpainSriLankaSudanSurinameSvalbardandJanMayenSwedenSwitzerlandSyriaArabRepublicTaiwanTajikistanTanzania,theUnitedRepublicofThailandTimor-LesteTogoTokelauTongaTrinidadandTobagoTunisiaTurkmenistanTurksandCaicosIslandsTuvaluTürkiyeUSMinorOutlyingIslandsUgandaUkraineUnitedArabEmiratesUnitedKingdomUnitedStatesUruguayUzbekistanVanuatuVenezuelaVietNamVirginIslands,BritishVirginIslands,U.S.WallisandFutunaWesternSaharaYemenZambiaZimbabweÅlandIslands Country TellusmoreaboutyourappHiddenPRIMARYConsent*Bysubmittingthisinformation,youmaybecontactedbytheBingMapssalesteambyemailorphone.Wewouldalsoliketopassyourdetailsontoourpartners(AccentureandGreyMatter)andMicrosoftresellerssothattheycancontactyoutoprovideaquoteandpresalessupport.Ifyouagreetohaveyourinformationpassedontoobtainaquoteandreceivepresalessupport,pleasechecktheboxbelowtoconfirm.PleasereviewthePrivacyStatement.IwouldliketosharemyinformationwithMicrosoftpartnersforthepurposeofobtainingaquoteandreceivingpresalessupport.*PhoneThisfieldisforvalidationpurposesandshouldbeleftunchanged. Noquestions? GETSTARTEDNOW GETSTARTEDNOW



請為這篇文章評分?