122 results have been found
Places by Address (OSM)
/en/documentation/geocoding-places-osm-api/code-samples/places-address-osm
GET Country State Province Locality Postal code Street House number Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Find places matching a set of …
Combine Vector Map and Raster Map
/en/resources/tutorials/map-rendering/combine-vector-map-and-raster-map
In this tutorial you will learn how to mash up different technologies in an interactive Vector Map with Raster Map Restriction Data . It will allow to display a map and visualize clickable truck restrictions like weight limits or truck-bans in inner …
Electricity Consumption - [PREVIEW]
/en/documentation/routing-api/code-samples/routing/electricity-consumption-preview
Electricity Consumption | Routing API Documentation | PTV Developer POST Latitude A Longitude A Latitude B Longitude B Charging power [kW] Setup time [s] kWh price [EUR] Current Type Direct Alternating Direct Latitude C Longitude C Vehicle Model Id [UUID] …
Vehicle Models - [PREVIEW]
/en/documentation/data-api/code-samples/vehicle-models-preview
GET vehicle types filter TRUCK TRUCK LCV SCV Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code sample describes how to request vehicle models …
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 …
Tutorials
/en/resources/tutorials
PTV Developer tutorials are designed as a hands-on guide that simplifies application development. These step-by-step resources offer practical knowledge and ready-to-use code, enabling developers to rapidly build functional applications. Accessible on …
Toll
/en/documentation/matrix-routing-api/code-samples/toll
Toll | Matrix Routing API Documentation | PTV Developer POST 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 EUR_TLN_TRUCK_20T EUR_TLN_TRUCK_11_99T EUR_TLN_VAN USA_1_PICKUP …
Map Information
/en/documentation/data-api/code-samples/map-information
GET Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code sample describes how to request the map …
Delete Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/delete-reachable-locations
Delete Reachable Locations | Routing API Documentation | PTV Developer DELETE Reachable locations ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java …
Fetch Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/fetch-reachable-locations
Fetch Reachable Locations | Routing API Documentation | PTV Developer GET Reachable locations ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
Calculate Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/calculate-reachable-locations
Calculate Reachable Locations | Routing API Documentation | PTV Developer POST Waypoint Latitude Longitude Location 1 Latitude Longitude Location 2 Latitude Longitude Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizon Driving direction OUTBOUND …
Fetch Reachable Areas
/en/documentation/routing-api/code-samples/reachable-areas/fetch-reachable-areas
Fetch Reachable Areas | Routing API Documentation | PTV Developer GET Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell …
Delete Reachable Areas
/en/documentation/routing-api/code-samples/reachable-areas/delete-reachable-areas
Delete Reachable Areas | Routing API Documentation | PTV Developer DELETE Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
Calculate Reachable Areas Asynchronously
/en/documentation/routing-api/code-samples/reachable-areas/calculate-reachable-areas-asynchronously
Calculate Reachable Areas Asynchronously | Routing API Documentation | PTV Developer POST Latitude A Longitude A Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizons Driving direction OUTBOUND No Value OUTBOUND INBOUND Profile No Value No Value …
Interactive Address Search - [PREVIEW]
/en/resources/tutorials/geocoding/interactive-address-search-preview
You will learn how an address search control is implemented and how to display the results on a map. The tutorial illustrates the use of the PTV Developer Geocoding API and the PTV Developer Vector Maps API . Try it! Download from GitHub … Prerequisites …
Suggestions by Text - [PREVIEW]
/en/documentation/geocoding-places-api/code-samples/suggestions-text-preview
GET Search Text Country filter Center Latitude Longitude Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Provides suggestions for a Location by Text …
Creating a Localized Map App
/en/documentation/vector-maps-api/code-samples/creating-localized-map-app
In this tutorial we extend the Map App code sample to display a localized map based on vector tiles from PTV Developer. Showing a localized map in a browser All supported languages are listed in the Languages concept. Localized labels are available for …
Position Matching
/en/documentation/map-matching-api/concepts/position-matching-new
In this tutorial you will learn how a basic Position Matching App is implemented. We will show an interactive map, use a click in the map to specify the position, invoke the endpoint, and display the result returned by the position matching endpoint. To …
Plan with Drivers' Working Hours
/en/documentation/route-optimization-api/code-samples/plan-drivers-working-hours
Drivers' working hours | Route Optimization API Documentation | PTV Developer POST Working hours preset (Mind that if the break or daily rest fields are also specified, the most restrictive value will apply.) Working hours preset: No Value No Value …
Transport priorities
/en/documentation/route-optimization-api/code-samples/transport-priorities
How to create a request | Route Optimization API Documentation | PTV Developer POST Time window Choose a time window for the availability of the driver and all transports: From 08:00 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 …
Get a Plan
/en/documentation/route-optimization-api/code-samples/round-trip/get-plan
Get a plan | Route Optimization API Documentation | PTV Developer GET Plan ID Insert the generated unique plan ID here: Send Request The Send Request button fetches the plan. If the optimization was successful, the response contains an updated version …
Get Operation Status of Optimisation Run
/en/documentation/route-optimization-api/code-samples/get-operation-status
Get operation status of optimization run | Route Optimization API Documentation | PTV Developer GET Plan ID Insert the generated unique plan ID here: Send Request The Send Request button fetches the operation status. When polling the corresponding …
Round Trip - Optimise the Plan
/en/documentation/route-optimization-api/code-samples/round-trip/round-trip-optimise-plan
Optimize the plan | Route Optimization API Documentation | PTV Developer POST Plan ID Insert the generated unique plan ID here: Send Request The Send Request button submits the request to optimize the plan. If the optimization was started, a response …
Round Trip - Create a Plan
/en/documentation/route-optimization-api/code-samples/round-trip/round-trip-create-plan
Create a plan | Route Optimization API Documentation | PTV Developer POST Time window Choose a time window for the planning horizon and all locations: From 08:00 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 …
Round Trip - How to Create a Plan for a Round Trip
/en/documentation/route-optimization-api/code-samples/round-trip/round-trip-how-create-plan-round-trip
The code sample explains how to create a simple plan for a round trip starting at a depot location and returning to it at the end of a route. All transport is delivered from one single depot location, which is also the start and end location of the …