Search found 13 matches

by LNM_PTV
Thu Oct 01, 2020 7:19 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: Does time consideration guarantee consistent routing?
Replies: 2
Views: 2357

Re: Does time consideration guarantee consistent routing?

Hi John, ExactTimeConsiderationAtStart evaluates all data which has time restrictions at the exact time at which the route segment is reached by the vehicle. When you perform step 2 and a traffic jam occured in the section A --> CarPosition, after you have calculated step 1, then the route from sect...
by LNM_PTV
Mon Jan 21, 2019 5:14 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Groovy & Funky
Replies: 8
Views: 7040

Re: Groovy & Funky

Hi Max, you can do such a if-else decision in a groovy script. But you pass only coordinates into the request. For the determination of the country codes of start and end points you need a reverse geocoding inside the script, or you have to pass that information via CallerContext. Which way do you w...
by LNM_PTV
Fri Aug 17, 2018 11:45 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Displaying route with toll sections (without recalculating)
Replies: 2
Views: 10654

Re: Displaying route with toll sections (without recalculati

Hello, the wkb format is not directly supported by the leaflet format. Before using a wkb format you have to transform it, for exmaple into geoJson. It might be the case, that there are already existing js libraries for that Transformation.. In order to store routes, you have to save the geometry. I...
by LNM_PTV
Tue Sep 26, 2017 11:29 am
Forum: PTV xRouteServer / DEV.Routing API
Topic: toll costs not calculated correctly when fuzzy waypoint used
Replies: 1
Views: 2840

Re: toll costs not calculated correctly when fuzzy waypoint

Hello, you use vehicle options in order to configure the vehicle properties from one waypoint to another. You did not do that for the fuzzy viapoint. Because you use a default-profile (that is a car profile) in the callercontext, this profile is used for the section from the via point to the endpoin...
by LNM_PTV
Tue Sep 12, 2017 12:53 pm
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Does PTV provide an ANGULAR2 component for rapid map dev?
Replies: 3
Views: 8754

Re: Does PTV provide an ANGULAR2 component for rapid map dev

Hi,

there exist free leaflet components for angular 2.
If you use xmap2 you can easily use the rest api and insert the corresponding url-pattern.

Best regards,
Lars
by LNM_PTV
Thu Aug 03, 2017 2:36 pm
Forum: PTV xRouteServer / DEV.Routing API
Topic: Toll as truck but not as a car
Replies: 3
Views: 7108

Re: Toll as truck but not as a car

Hallo! If you do a truck Routing on that route, the corresponding toll data are considered. For a car routing, for example in Germany or in Austraia, a vignette has to be bought. A vignette fee is dependent on the validity period. For different validity periods different amounts of money has to be p...
by LNM_PTV
Wed Jun 28, 2017 7:31 am
Forum: PTV Navigator SDK (Admin=SchS)
Topic: Web and mobile routing with BCR files.
Replies: 4
Views: 6204

Re: Web and mobile routing with BCR files.

Hello,

please find attached the desired code sample.
You can copy it into the code sample browser and execute it there.
The sample shows the content of an bcr file for a route that is planned with the xroute Server.
GuidedNavigation.zip
GuidedNavigationBCRSample
(5.21 KiB) Downloaded 477 times
Best regards,
Lars
by LNM_PTV
Mon Mar 20, 2017 8:11 am
Forum: PTV xLocateServer / Developer: Geocoding and Places
Topic: xLocate cannot give back planned route
Replies: 4
Views: 6827

Re: xLocate cannot give back planned route

Hello Daniel, xlocate cannot use truckattributes. The linking-problem usually occurs when there are truck restrictions in an area directly around the located geocoordinate. The xroute searchs for a segment of the roadnetwork, where the geocoordinate can be linked to,within a certain linking distance...
by LNM_PTV
Thu Mar 09, 2017 5:13 pm
Forum: PTV xLocateServer / Developer: Geocoding and Places
Topic: xLocate cannot give back planned route
Replies: 4
Views: 6827

Re: xLocate cannot give back planned route

Hello Daniel, I geocoded both 'Szczecin' and 'Székesfehérvár' with findAddressByText on the EuropeCityPremium2017.1H and the EuropeCityPremizm2017.2H and calculated a routing into these cities using the truckfast and truckslow profile. Here is the sample request: { "waypoints": [ { "c...
by LNM_PTV
Thu Mar 09, 2017 8:42 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Accessing the methods of xLocate service via WebClient in C#
Replies: 5
Views: 11932

Re: Accessing the methods of xLocate service via WebClient i

Hello, here are two links to our Website where you can find Information about how to acces the xlocate Service in C#. http://xserver.ptvgroup.com/en-uk/cookbook/programming-examples/c/accessing-ptv-xserver-internet-in-net-applications/ http://xserver.ptvgroup.com/en-uk/cookbook/programming-examples/...