358 results have been found
Track Matching with Toll Calculation
/en/resources/tutorials/map-matching/track-matching-toll-calculation
Track Matching Tutorial In this tutorial you will learn how a basic Track Matching workflow works. First, you use Track Matching with the calculationMode parameter as a POST request and pass the positions in JSON format. If the request succeeds, the …
Guide - Sequence Optimization API [MAINTENANCE]
/en/documentation/sequence-optimization-api
Introduction The PTV Developer Sequence Optimization API allows you to optimize stop order to get the most efficient routes for your vehicles. After distributing stops to optimal routes with the Route Optimization API, the Sequence Optimization API …
Guide - Route Optimisation API [MAINTENANCE]
/en/documentation/route-optimization-api
Introduction The PTV Developer Route Optimisation API allows you to schedule and optimise your fleet routes to ensure the most efficient use of resources. Solving the VRP (Vehicle Routing Problem) is a complex challenge: Even for one vehicle and five …
Documentation
/en/documentation
Geocoding Geocoding & Places API Geocoding & Places OSM API Maps Raster Maps API Vector Maps API Vector Maps OSM API Map Matching Map Matching API Routing Routing API Routing OSM API Matrix Routing API Matrix Routing OSM API EWS EWS Road Distance …
Clean Input (experimental)
/en/documentation/geocoding-places-api/concepts/clean-input-experimental
Challenge Some customers need to geocode address data containing additional information that is not available in the map data. Some examples can be seen here: 676 10th Ave Apt 2b , New York, NY 10036 15 School St, Woods Hole, MA 02543, (please use …
Track Matching
/en/documentation/map-matching-api/concepts/track-matching
Track matching tries to find the best matching road segment in the map for a given position in respect to already matched positions. Thus the best matching road segment is not always the nearest to the position, but the one which fits best into the track. …
Batch Processing
/en/documentation/geocoding-places-api/concepts/batch-processing
Introduction There are several non-interactive use cases of geocoding, such as geocoding databases, for which it can be useful to send several addresses or positions at once. For these cases PTV Developer provides an asynchronous batch API. The …
Batch Locations by Positions (Delete)
/en/documentation/geocoding-places-api/code-samples/batch-locations-positions-delete
DELETE Request ID The retention period of a request, after which it is automatically deleted, is 24 hours. Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // …
Batch Locations by Positions (Get)
/en/documentation/geocoding-places-api/code-samples/batch-locations-positions-get
GET Request ID The retention period of a request, after which it is automatically deleted, is 24 hours. Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // …
Batch Locations by Positions (Status)
/en/documentation/geocoding-places-api/code-samples/batch-locations-positions-status
x GET Request ID The retention period of a request, after which it is automatically deleted, is 24 hours. Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // …
Batch Locations by Positions (Create)
/en/batch-locations-positions-create
POST Position 1 Latitude Longitude Position 2 Latitude Longitude Position 3 Latitude Longitude Send Request Request Body Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
API Reference Batch
/en/documentation/geocoding-places-api/api-reference-batch
{ "openapi": "3.0.1", "info": { "title": "Geocoding Batch API", "description": "With the Batch Geocoding service you can find a large number of locations.", "version": "1.0", "contact": { "url": "https://developer.myptv.com/" } }, "tags": [ { "name": …
Drivers' Working Hours
/en/documentation/routing-api/concepts/drivers-working-hours
The drivers' working hours are a set of regulations that define break periods and driving/travel time limits for vehicle drivers. The purpose of a driving time regulation law is to improve road safety and ensure good working conditions of drivers. If no …
How to Generate Clients for PTV Developer APIs
/en/resources/tutorials/general/how-generate-clients-ptv-developer-apis
In this tutorial you will learn how to generate clients for PTV Developer APIs. … The API specification of each PTV Developer API is available as OpenAPI document of version 3 in JSON format. Each API documentation contains a download link for its …
Profiles and Countries
/en/documentation/route-optimization-optiflow-api/concepts/profiles-and-countries
Profiles and Countries | Route Optimization API Documentation | PTV Developer European profiles Profiles Description Supported traffic modes EUR_TRAILER_TRUCK Typical 40t semi-trailer truck (Euro-tractor) with 5 axles consisting of tractor with 2 or 3 …
Interactive Routing App with React
/en/resources/tutorials/interactive-routing-app-react-vite-typescript
The goal of this tutorial is to build a simple routing React app from scratch using the PTV Vector Map and the PTV Developer clients for TypeScript. In this tutorial, for the sake of simplicity, our app will not include any CSS file, nor context manager. …
Block Intersecting Roads
/en/resources/tutorials/routing/block-intersecting-roads
In this tutorial you will learn how to implement a Block Intersecting Roads Routing App . It will allow to display a map, add polylines to block the intersecting roads, and calculate a route taking into account the blocked roads or not. The aim of the …
Violation Events
/en/documentation/routing-api/code-samples/routing/violation-events
Violation Events Polyline | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Profile No value No Value EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T …
Date and Time
/en/documentation/routing-api/concepts/date-and-time
To obtain the best results date and time will be considered for calculating the route, the travel time and toll. Route Calculation Many roads cannot be used by trucks at any time. The Routing API will automatically consider roads prohibited for the …
Violations
/en/documentation/routing-api/concepts/violations
If there is no valid route for the selected vehicle but the resulting route can be calculated using roads which are actually prohibited, the route is marked as violated. When enabling drivers' working hours but the resulting route exceeds one of the …
Toll Calculation
/en/resources/tutorials/routing/toll-routing
In this tutorial you will learn how a Toll Calculation App is implemented. It will allow to display a map, select and calculate a route with toll between waypoints. The aim of the code examples is to illustrate the use of the toll use case of PTV …
Create a custom style with Maputnik
/en/resources/tutorials/map-rendering/create-custom-style-maputnik
Maputnik is a powerful open-source online tool to create and edit Maplibre map styles. It can be also used to customize PTV Vector Map styles. This tutorial illustrates how to import a PTV Vector Map style into maputnik, edit and at the end export it, so …
OSM Profiles
/en/documentation/data-api/concepts/osm-profiles
The properties of a vehicle are stored in a profile, matching typical transport situations. It describes the physical and legal properties, such as height and weight, which are used to calculate a route. OSM predefined profiles OSM predefined profiles …
Results Representation (OSM)
/en/documentation/matrix-routing-osm-api/concepts/results-representation
The response of a Matrix Routing request is composed of arrays and other information. … Response arrays Depending on the results parameter, the response contains one or several one-dimensional arrays. For each combination, origins (i) and destinations (j) …
Results Representation
/en/documentation/matrix-routing-api/concepts/results-representation
The response of a Matrix Routing request is composed of arrays and other information. Depending on what has been set in the options , plain arrays or encoded string are returned. The following sections explain how to interprete these results. … Plain …