Note that 24/0.25 = 24 * 4 = 96, but since only the first increments per origin-destination pair is counted towards billable transaction, 66 time intervals are excluded from the transaction calculation per origin-destination pair, thus saving you a total of 330 billable transactions in this scenario. When calculating a matrix which includes a histogram, only the first 30 time intervals in each origin-destination pair are counted towards billable transactions, any additional time intervals are provided for free.Ĭeiling (¼ * # origins * # destinations * Min (30, endTime in hours – startTime in hours / resolution * 0.25))įor example, a matrix that has 4 origins, 5 destinations, and retrieves time intervals in 15 minute increments (resolution = 1) over 24 hours, will generate 150 cells where Ceiling(¼ * 4 * 5 * Min(30, 24/0.25)) = Ceiling(¼ * 4 * 5 * Min(30, 96)) = Ceiling(¼ * 4 * 5 * 30) = 150. If you are calculating in a planar method, the distance can vary based on how far the distance calculations are being measured, where in the world the calculations are being made, and the specified projection. Total # of billable transactions = Ceiling (# origins * # destinations * ¼)įor example, a matrix that has 4 origins, and 5 destinations, will generate 5 billable transactions where Ceiling(4 * 5 * ¼) = 5. The distance can vary depending on whether you are calculating in a planar or geodesic spatial reference system. For a simple matrix, billable transactions will be calculated using the following formula: ![]() How to calculate total number of billable transactions a request will generateĪ billable transaction is generated for every 4 cells in a matrix, rounded up to the nearest whole integer. For licensing and pricing questions, please contact a Bing Maps Sales Specialist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |